mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-21 08:09:35 +08:00
Minimize to tray only if the relevant option is enabled.
This commit is contained in:
parent
9032808112
commit
f94d733c62
@ -306,8 +306,11 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
activateWindow();
|
||||
raise();
|
||||
}
|
||||
else {
|
||||
create();
|
||||
else if (pref->startMinimized()) {
|
||||
if (pref->minimizeToTray())
|
||||
create();
|
||||
else
|
||||
showMinimized();
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user