Don't delete old config keys yet

It will allow users to go back to previous versions without
losing their settings.
This commit is contained in:
sledgehammer999 2022-01-05 01:01:10 +02:00
parent a27822b557
commit 702c79a92f
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -322,7 +322,7 @@ namespace
{ {
const auto value = settingsStorage->loadValue<QVariant>(mapping.oldKey); const auto value = settingsStorage->loadValue<QVariant>(mapping.oldKey);
settingsStorage->storeValue(mapping.newKey, value); settingsStorage->storeValue(mapping.newKey, value);
settingsStorage->removeValue(mapping.oldKey); // TODO: Remove oldKey after ~v4.4.3 and bump migration version
} }
} }
} }