Browse Source

Don't delete old config keys yet

It will allow users to go back to previous versions without
losing their settings.
adaptive-webui-19844
sledgehammer999 3 years ago
parent
commit
702c79a92f
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 2
      src/app/upgrade.cpp

2
src/app/upgrade.cpp

@ -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
} }
} }
} }

Loading…
Cancel
Save