aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-07-10 14:38:36 +0200
committercon <qtc-committer@nokia.com>2009-07-10 14:38:08 +0200
commitfb0ff005eac0c9d539cdbbeee5d676adcfafaafd (patch)
tree1947d7dba034c1126da1e293c4f8cf567a0becac
parenta5592bcfd137f72053ce5b21bf8c01f4f4e45c36 (diff)
debugger: hopefully _finally_ fix the "vanishing helper checkmark" problemv1.2.1
(cherry picked from commit b410ddc4bdc080ae2f9ad55223c840e9d866281d)
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 5b4254b271..2ea766bf73 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -355,17 +355,19 @@ QWidget *DebuggingHelperOptionPage::createPage(QWidget *parent)
this, SLOT(updateState()));
m_group.clear();
-#ifdef QT_DEBUG
m_group.insert(theDebuggerAction(UseDebuggingHelpers),
m_ui.checkBoxUseDebuggingHelpers);
-#endif
m_group.insert(theDebuggerAction(UseCustomDebuggingHelperLocation),
m_ui.checkBoxUseCustomDebuggingHelperLocation);
m_group.insert(theDebuggerAction(CustomDebuggingHelperLocation),
m_ui.dumperLocationChooser);
+#ifdef QT_DEBUG
m_group.insert(theDebuggerAction(DebugDebuggingHelpers),
m_ui.checkBoxDebugDebuggingHelpers);
+#else
+ m_ui.checkBoxDebugDebuggingHelpers->hide();
+#endif
m_ui.dumperLocationChooser->
setEnabled(theDebuggerAction(UseCustomDebuggingHelperLocation)->value().toBool());