mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-27 08:19:30 +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();
|
activateWindow();
|
||||||
raise();
|
raise();
|
||||||
}
|
}
|
||||||
else {
|
else if (pref->startMinimized()) {
|
||||||
|
if (pref->minimizeToTray())
|
||||||
create();
|
create();
|
||||||
|
else
|
||||||
|
showMinimized();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user