forked from qt-creator/qt-creator
Mac: Don't show icons in editor tool bar context menu.
Task-number: QTCREATORBUG-8870 Change-Id: I41022e9b0156f4ec6a6802501ec1d5b9eadb87b7 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -737,6 +737,7 @@ static void assignAction(QAction *self, QAction *other)
|
|||||||
self->setIcon(other->icon());
|
self->setIcon(other->icon());
|
||||||
self->setShortcut(other->shortcut());
|
self->setShortcut(other->shortcut());
|
||||||
self->setEnabled(other->isEnabled());
|
self->setEnabled(other->isEnabled());
|
||||||
|
self->setIconVisibleInMenu(other->isIconVisibleInMenu());
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorManager::addSaveAndCloseEditorActions(QMenu *contextMenu, const QModelIndex &editorIndex)
|
void EditorManager::addSaveAndCloseEditorActions(QMenu *contextMenu, const QModelIndex &editorIndex)
|
||||||
|
|||||||
Reference in New Issue
Block a user