Commit 5e40846c authored by con's avatar con
Browse files

Fixes: Not possible to tell whether "Operate by instruction" is enabled

from Menu entry

Don't show the icon of checkable items in the menu to avoid being
affected by broken styles.

Task-number: QTCREATORBUG-1173
parent 3c6643cd
...@@ -227,6 +227,7 @@ DebuggerSettings *DebuggerSettings::instance() ...@@ -227,6 +227,7 @@ DebuggerSettings *DebuggerSettings::instance()
"operation mode. In this mode, stepping operates on single " "operation mode. In this mode, stepping operates on single "
"instructions and the source location view also shows the " "instructions and the source location view also shows the "
"disassembled instructions.")); "disassembled instructions."));
instance->insertItem(OperateByInstruction, item); instance->insertItem(OperateByInstruction, item);
item = new SavedAction(instance); item = new SavedAction(instance);
...@@ -557,6 +557,7 @@ void DebuggerManager::init() ...@@ -557,6 +557,7 @@ void DebuggerManager::init()
d->m_actions.reverseDirectionAction->setChecked(false); d->m_actions.reverseDirectionAction->setChecked(false);
d->m_actions.reverseDirectionAction->setIcon( d->m_actions.reverseDirectionAction->setIcon(
QIcon(":/debugger/images/debugger_reversemode_16.png")); QIcon(":/debugger/images/debugger_reversemode_16.png"));
connect(d->m_actions.continueAction, SIGNAL(triggered()), connect(d->m_actions.continueAction, SIGNAL(triggered()),
this, SLOT(executeContinue())); this, SLOT(executeContinue()));
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