summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/debuggeractions.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgads@gmail.com>2012-02-23 19:46:01 +0200
committerhjk <qthjk@ovi.com>2012-04-15 20:39:09 +0200
commit2a2a89ab01092de6d63e7b47abfff51480675b58 (patch)
tree5d6034b8c67e97fb0111ec38c88c19bedce86458 /src/plugins/debugger/debuggeractions.cpp
parent4db1772a4f36922e52321ddc83d0a4c2825850a5 (diff)
downloadqt-creator-2a2a89ab01092de6d63e7b47abfff51480675b58.tar.gz
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: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/debuggeractions.cpp')
-rw-r--r--src/plugins/debugger/debuggeractions.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp
index ffb0d1842d..5fac7cbcc0 100644
--- a/src/plugins/debugger/debuggeractions.cpp
+++ b/src/plugins/debugger/debuggeractions.cpp
@@ -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);