mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 13:58:51 +03:00
Minimize to tray only if the relevant option is enabled.
This commit is contained in:
parent
9032808112
commit
f94d733c62
1 changed files with 5 additions and 2 deletions
|
@ -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 a new issue