QmlDesigner: Make SHOW_DEBUG_SETTINGS setting actually work

The current value from the .ini file for this setting was never read.

Change-Id: I5b86fa04c117eb38cd5a7ef282861718c328c34e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Miikka Heikkinen
2022-08-30 15:49:06 +03:00
parent 7413e85b7c
commit c714e5ba81

View File

@@ -84,6 +84,7 @@ void DesignerSettings::fromSettings(QSettings *settings)
restoreValue(settings, DesignerSettingsKey::EDIT3DVIEW_BACKGROUND_COLOR, defaultValue);
restoreValue(settings, DesignerSettingsKey::EDIT3DVIEW_GRID_COLOR, "#aaaaaa");
restoreValue(settings, DesignerSettingsKey::SMOOTH_RENDERING, false);
restoreValue(settings, DesignerSettingsKey::SHOW_DEBUG_SETTINGS, false);
settings->endGroup();
settings->endGroup();