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
......@@ -340,8 +340,13 @@ DebuggerSettings::DebuggerSettings(QSettings *settings)
item = new SavedAction(this);
item->setText(tr("Break on \"raise\""));
item->setCheckable(true);
#ifdef Q_OS_WIN
item->setDefaultValue(true);
item->setValue(true);
#else
item->setDefaultValue(false);
item->setValue(false);
#endif
item->setSettingsKey(debugModeGroup, QLatin1String("BreakOnRaise"));
insertItem(BreakOnRaise, 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