Commit 5797b28f authored by hjk's avatar hjk

debugger: initialize values in saved actions to prevent triggering updates

when reading settings
parent ed3b9849
......@@ -173,18 +173,21 @@ DebuggerSettings *DebuggerSettings::instance()
item->setText(tr("Use debugging helper"));
item->setCheckable(true);
item->setDefaultValue(true);
item->setValue(true);
instance->insertItem(UseDebuggingHelpers, item);
item = new SavedAction(instance);
item->setSettingsKey(debugModeGroup, QLatin1String("UseCustomDebuggingHelperLocation"));
item->setCheckable(true);
item->setDefaultValue(false);
item->setValue(false);
instance->insertItem(UseCustomDebuggingHelperLocation, item);
item = new SavedAction(instance);
item->setSettingsKey(debugModeGroup, QLatin1String("CustomDebuggingHelperLocation"));
item->setCheckable(true);
item->setDefaultValue(QString());
item->setValue(QString());
instance->insertItem(CustomDebuggingHelperLocation, item);
item = new SavedAction(instance);
......@@ -192,6 +195,7 @@ DebuggerSettings *DebuggerSettings::instance()
item->setText(tr("Debug debugging helper"));
item->setCheckable(true);
item->setDefaultValue(false);
item->setValue(false);
instance->insertItem(DebugDebuggingHelpers, item);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment