From 1827337f90e09d1ce2e377254e0330b66b26c6ba Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 9 Jun 2010 07:38:25 +0000 Subject: [PATCH] Unified toolbar and title on Mac --- src/GUI.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GUI.cpp b/src/GUI.cpp index 4f8282f88..c53c67535 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -209,6 +209,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