Skip to content
Snippets Groups Projects
Commit 2a2a89ab authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk
Browse files

Debugger: Enable "Break on Raise" by default on Windows

Following 2 recent messages on the mailing list, I suggest
this option is turned on by default.

http://lists.qt-project.org/pipermail/qt-creator/2012-February/000295.html
http://lists.qt-project.org/pipermail/qt-creator/2012-February/000331.html



Change-Id: I2abb705ee1aad241bd15c01ea5ca429874693847
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 4db1772a
No related branches found
No related tags found
No related merge requests found
...@@ -340,8 +340,13 @@ DebuggerSettings::DebuggerSettings(QSettings *settings) ...@@ -340,8 +340,13 @@ DebuggerSettings::DebuggerSettings(QSettings *settings)
item = new SavedAction(this); item = new SavedAction(this);
item->setText(tr("Break on \"raise\"")); item->setText(tr("Break on \"raise\""));
item->setCheckable(true); item->setCheckable(true);
#ifdef Q_OS_WIN
item->setDefaultValue(true);
item->setValue(true);
#else
item->setDefaultValue(false); item->setDefaultValue(false);
item->setValue(false); item->setValue(false);
#endif
item->setSettingsKey(debugModeGroup, QLatin1String("BreakOnRaise")); item->setSettingsKey(debugModeGroup, QLatin1String("BreakOnRaise"));
insertItem(BreakOnRaise, item); insertItem(BreakOnRaise, item);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment