]> git.sur5r.net Git - minitube/commitdiff
Will unified mode ever work?
author <> <>
Sun, 1 Aug 2010 12:37:17 +0000 (14:37 +0200)
committerFlavio <flavio@guodil.local>
Sun, 1 Aug 2010 12:37:17 +0000 (14:37 +0200)
Also removed a compiler warning

src/MainWindow.cpp

index dae434c7ebcffadb850b1980624c8b6491d4bb68..19bd15f000a7d4d86bd564619d695525e3f82d26 100755 (executable)
@@ -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);