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:
parent
0beb9fff73
commit
7ab206ebac
@ -210,6 +210,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
|
||||||
|
Loading…
Reference in New Issue
Block a user