1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 14:27:56 +00:00

Use unified title and toolbar on Mac

This commit is contained in:
Christophe Dumez 2010-06-09 07:37:05 +00:00
parent 0beb9fff73
commit 7ab206ebac

View File

@ -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