Unified toolbar and title on Mac

This commit is contained in:
Christophe Dumez
2010-06-09 07:38:25 +00:00
parent 08044bc47d
commit 1827337f90

View File

@@ -209,6 +209,10 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
status_bar = new StatusBar(QMainWindow::statusBar(), BTSession); status_bar = new StatusBar(QMainWindow::statusBar(), BTSession);
connect(actionUse_alternative_speed_limits, SIGNAL(triggered()), status_bar, SLOT(toggleAlternativeSpeeds())); connect(actionUse_alternative_speed_limits, SIGNAL(triggered()), status_bar, SLOT(toggleAlternativeSpeeds()));
#ifdef Q_WS_MAC
setUnifiedTitleAndToolBarOnMac(true);
#endif
show(); show();
// Load Window state and sizes // Load Window state and sizes