From ed7e2ce2478d018d88f9741fb012025cf832d5ce Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 4 Mar 2013 14:42:19 +0100 Subject: [PATCH] Mac: Don't show icons in editor tool bar context menu. Task-number: QTCREATORBUG-8870 Change-Id: I41022e9b0156f4ec6a6802501ec1d5b9eadb87b7 Reviewed-by: Thomas Hartmann --- src/plugins/coreplugin/editormanager/editormanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp index 3d6993bfe6e..779c60772f5 100644 --- a/src/plugins/coreplugin/editormanager/editormanager.cpp +++ b/src/plugins/coreplugin/editormanager/editormanager.cpp @@ -737,6 +737,7 @@ static void assignAction(QAction *self, QAction *other) self->setIcon(other->icon()); self->setShortcut(other->shortcut()); self->setEnabled(other->isEnabled()); + self->setIconVisibleInMenu(other->isIconVisibleInMenu()); } void EditorManager::addSaveAndCloseEditorActions(QMenu *contextMenu, const QModelIndex &editorIndex)