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
This commit is contained in:
con
2010-06-11 15:33:11 +02:00
parent 3c6643cd75
commit 5e40846c23
2 changed files with 2 additions and 0 deletions

View File

@@ -227,6 +227,7 @@ DebuggerSettings *DebuggerSettings::instance()
"operation mode. In this mode, stepping operates on single "
"instructions and the source location view also shows the "
"disassembled instructions."));
item->setIconVisibleInMenu(false);
instance->insertItem(OperateByInstruction, item);
item = new SavedAction(instance);

View File

@@ -557,6 +557,7 @@ void DebuggerManager::init()
d->m_actions.reverseDirectionAction->setChecked(false);
d->m_actions.reverseDirectionAction->setIcon(
QIcon(":/debugger/images/debugger_reversemode_16.png"));
d->m_actions.reverseDirectionAction->setIconVisibleInMenu(false);
connect(d->m_actions.continueAction, SIGNAL(triggered()),
this, SLOT(executeContinue()));