forked from qt-creator/qt-creator
debugger: hopefully _finally_ fix the "vanishing helper checkmark" problem
(cherry picked from commit b410ddc4bd
)
This commit is contained in:
@@ -355,17 +355,19 @@ QWidget *DebuggingHelperOptionPage::createPage(QWidget *parent)
|
|||||||
this, SLOT(updateState()));
|
this, SLOT(updateState()));
|
||||||
|
|
||||||
m_group.clear();
|
m_group.clear();
|
||||||
#ifdef QT_DEBUG
|
|
||||||
m_group.insert(theDebuggerAction(UseDebuggingHelpers),
|
m_group.insert(theDebuggerAction(UseDebuggingHelpers),
|
||||||
m_ui.checkBoxUseDebuggingHelpers);
|
m_ui.checkBoxUseDebuggingHelpers);
|
||||||
#endif
|
|
||||||
m_group.insert(theDebuggerAction(UseCustomDebuggingHelperLocation),
|
m_group.insert(theDebuggerAction(UseCustomDebuggingHelperLocation),
|
||||||
m_ui.checkBoxUseCustomDebuggingHelperLocation);
|
m_ui.checkBoxUseCustomDebuggingHelperLocation);
|
||||||
m_group.insert(theDebuggerAction(CustomDebuggingHelperLocation),
|
m_group.insert(theDebuggerAction(CustomDebuggingHelperLocation),
|
||||||
m_ui.dumperLocationChooser);
|
m_ui.dumperLocationChooser);
|
||||||
|
|
||||||
|
#ifdef QT_DEBUG
|
||||||
m_group.insert(theDebuggerAction(DebugDebuggingHelpers),
|
m_group.insert(theDebuggerAction(DebugDebuggingHelpers),
|
||||||
m_ui.checkBoxDebugDebuggingHelpers);
|
m_ui.checkBoxDebugDebuggingHelpers);
|
||||||
|
#else
|
||||||
|
m_ui.checkBoxDebugDebuggingHelpers->hide();
|
||||||
|
#endif
|
||||||
|
|
||||||
m_ui.dumperLocationChooser->
|
m_ui.dumperLocationChooser->
|
||||||
setEnabled(theDebuggerAction(UseCustomDebuggingHelperLocation)->value().toBool());
|
setEnabled(theDebuggerAction(UseCustomDebuggingHelperLocation)->value().toBool());
|
||||||
|
Reference in New Issue
Block a user