From e39cf7b5300106645fa304ba8377f7c0595a5dd2 Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Tue, 27 Oct 2009 23:10:17 +0100 Subject: [PATCH] No icons in menus --- src/MainWindow.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 03ad221..d97a2b9 100755 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -220,10 +220,8 @@ void MainWindow::createActions() { // make the actions work when video is fullscreen action->setShortcutContext(Qt::ApplicationShortcut); -#ifdef Q_WS_MAC - // OSX does not use icons in menus + // no icons in menus action->setIconVisibleInMenu(false); -#endif } @@ -269,9 +267,8 @@ void MainWindow::createMenus() { void MainWindow::createToolBars() { - setToolButtonStyle(Qt::ToolButtonTextUnderIcon); - mainToolBar = new QToolBar(this); + mainToolBar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); mainToolBar->setFloatable(false); mainToolBar->setMovable(false); -- 2.39.5