QmlDesigner: Rename setting to avoid any interference

Rename setting to avoid any interference
with old installations.

Change-Id: Id8cb3ad4a3be6e416c4ad935856c57fc29c07503
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Thomas Hartmann
2022-11-25 12:53:21 +01:00
parent 056165d071
commit caccbe8377
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ void DesignerSettings::fromSettings(QSettings *settings)
restoreValue(settings, DesignerSettingsKey::EDIT3DVIEW_GRID_COLOR, "#aaaaaa");
restoreValue(settings, DesignerSettingsKey::SMOOTH_RENDERING, false);
restoreValue(settings, DesignerSettingsKey::SHOW_DEBUG_SETTINGS, false);
restoreValue(settings, DesignerSettingsKey::OLD_STATES_EDITOR, true);
restoreValue(settings, DesignerSettingsKey::OLD_STATES_EDITOR, false);
settings->endGroup();
settings->endGroup();

View File

@@ -53,7 +53,7 @@ const char ALWAYS_DESIGN_MODE[] = "AlwaysDesignMode";
const char DISABLE_ITEM_LIBRARY_UPDATE_TIMER[] = "DisableItemLibraryUpdateTimer";
const char ASK_BEFORE_DELETING_ASSET[] = "AskBeforeDeletingAsset";
const char SMOOTH_RENDERING[] = "SmoothRendering";
const char OLD_STATES_EDITOR[] = "OldStatesEditor";
const char OLD_STATES_EDITOR[] = "ForceOldStatesEditor";
}
class QMLDESIGNERUTILS_EXPORT DesignerSettings