From 7ab206ebaca0d1472f57b33534898696809b2dad Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 9 Jun 2010 07:37:05 +0000 Subject: [PATCH] Use unified title and toolbar on Mac --- src/GUI.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GUI.cpp b/src/GUI.cpp index 5fc276c87..732261a2a 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -210,6 +210,10 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis status_bar = new StatusBar(QMainWindow::statusBar(), BTSession); connect(actionUse_alternative_speed_limits, SIGNAL(triggered()), status_bar, SLOT(toggleAlternativeSpeeds())); +#ifdef Q_WS_MAC + setUnifiedTitleAndToolBarOnMac(true); +#endif + show(); // Load Window state and sizes