mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 09:13:08 -07: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();
|
activateWindow();
|
||||||
raise();
|
raise();
|
||||||
}
|
}
|
||||||
else {
|
else if (pref->startMinimized()) {
|
||||||
|
if (pref->minimizeToTray())
|
||||||
create();
|
create();
|
||||||
|
else
|
||||||
|
showMinimized();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue