From: <> Date: Sun, 1 Aug 2010 12:37:17 +0000 (+0200) Subject: Will unified mode ever work? X-Git-Tag: 1.2~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5e08ae7d2518428cc2354adadde956971354cd9d;p=minitube Will unified mode ever work? Also removed a compiler warning --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index dae434c..19bd15f 100755 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -7,9 +7,9 @@ #include "fontutils.h" MainWindow::MainWindow() : + aboutView(0), mediaObject(0), audioOutput(0), - aboutView(0), m_fullscreen(false) { // views mechanism @@ -301,6 +301,8 @@ void MainWindow::createMenus() { void MainWindow::createToolBars() { + setUnifiedTitleAndToolBarOnMac(true); + mainToolBar = new QToolBar(this); #if QT_VERSION < 0x040600 | defined(APP_MAC) mainToolBar->setToolButtonStyle(Qt::ToolButtonIconOnly);