From: Flavio Tordini Date: Tue, 27 Oct 2009 22:10:17 +0000 (+0100) Subject: No icons in menus X-Git-Tag: 0.8~43 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e39cf7b5300106645fa304ba8377f7c0595a5dd2;p=minitube No icons in menus --- 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);