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:
Eike Ziller
2013-03-04 14:42:19 +01:00
parent ba78b73f41
commit ed7e2ce247

View File

@@ -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)