added installation_uuid to apiPayload (#747)
Added installation_uuid to apiPayload
This commit is contained in:
parent
f0085f52eb
commit
d50e7dd3f4
8 changed files with 38 additions and 10 deletions
|
@ -125,6 +125,10 @@ QByteArray SecureQSettings::backupAppConfig() const
|
|||
QJsonObject cfg;
|
||||
|
||||
for (const QString &key : m_settings.allKeys()) {
|
||||
if (key == "Conf/installationUuid") {
|
||||
continue;
|
||||
}
|
||||
|
||||
cfg.insert(key, QJsonValue::fromVariant(value(key)));
|
||||
}
|
||||
|
||||
|
@ -138,6 +142,10 @@ bool SecureQSettings::restoreAppConfig(const QByteArray &json)
|
|||
return false;
|
||||
|
||||
for (const QString &key : cfg.keys()) {
|
||||
if (key == "Conf/installationUuid") {
|
||||
continue;
|
||||
}
|
||||
|
||||
setValue(key, cfg.value(key).toVariant());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue