From 5e08ae7d2518428cc2354adadde956971354cd9d Mon Sep 17 00:00:00 2001 From: <> Date: Sun, 1 Aug 2010 14:37:17 +0200 Subject: [PATCH] Will unified mode ever work? Also removed a compiler warning --- src/MainWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.39.5