Commit ed7e2ce2 authored by Eike Ziller's avatar Eike Ziller

Mac: Don't show icons in editor tool bar context menu.

Task-number: QTCREATORBUG-8870

Change-Id: I41022e9b0156f4ec6a6802501ec1d5b9eadb87b7
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent ba78b73f
...@@ -737,6 +737,7 @@ static void assignAction(QAction *self, QAction *other) ...@@ -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)
......
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