UI: FortSettings: Move "graphWindow" options to IniUser

This commit is contained in:
Nodir Temirkhodjaev 2024-11-02 12:07:07 +05:00
parent 7d20cd6f0d
commit 3019d237c6
2 changed files with 5 additions and 14 deletions

View File

@ -574,6 +574,11 @@ void FortSettings::migrateIniOnWrite()
ini()->setValue("confFlags/blockInetTraffic", cacheValue("confFlags/blockInetTraffic"));
ini()->setValue("quota/blockInetTraffic", cacheValue("quota/blockInetTraffic"));
}
// COMPAT: v3.14.9: .ini ~> .user.ini
if (version < 0x031409) {
removeIniKey("graphWindow");
}
}
QStringList FortSettings::unlockTypeStrings()

View File

@ -69,20 +69,6 @@ void UserSettings::migrateIniOnWrite()
removeIniKey("confFlags");
removeIniKey("stat");
removeIniKey("quota");
removeIniKey("graphWindow/alwaysOnTop");
removeIniKey("graphWindow/frameless");
removeIniKey("graphWindow/clickThrough");
removeIniKey("graphWindow/hideOnHover");
removeIniKey("graphWindow/opacity");
removeIniKey("graphWindow/hoverOpacity");
removeIniKey("graphWindow/maxSeconds");
removeIniKey("graphWindow/color");
removeIniKey("graphWindow/colorIn");
removeIniKey("graphWindow/colorOut");
removeIniKey("graphWindow/axisColor");
removeIniKey("graphWindow/tickLabelColor");
removeIniKey("graphWindow/labelColor");
removeIniKey("graphWindow/gridColor");
removeIniKey("optWindow/statSplit");
removeIniKey("connWindow");
ini()->setValue("statWindow/geometry", cacheValue("statWindow/geometry"));