forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
@@ -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()));
|
||||
|
Reference in New Issue
Block a user