SettingsManager - Fix Migration Scenario

This commit is contained in:
LordGrey 2021-11-17 22:38:15 +01:00 committed by GitHub
parent ad293b2fb6
commit 80ec037832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -624,6 +624,7 @@ bool SettingsManager::handleConfigUpgrade(QJsonObject& config)
else
{
newForwarderConfig.remove("json");
migrated = true;
}
}
@ -667,6 +668,7 @@ bool SettingsManager::handleConfigUpgrade(QJsonObject& config)
else
{
newForwarderConfig.remove("flat");
migrated = true;
}
}
}