mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
- Window can now stay maximized on exit
This commit is contained in:
parent
a0743c0713
commit
81d05a67b3
3 changed files with 4 additions and 2 deletions
|
@ -675,7 +675,8 @@ void GUI::closeEvent(QCloseEvent *e){
|
|||
}
|
||||
if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool() && nbTorrents != 0){
|
||||
show();
|
||||
showNormal();
|
||||
if(!isMaximized())
|
||||
showNormal();
|
||||
if(QMessageBox::question(this,
|
||||
tr("Are you sure you want to quit?")+" -- "+tr("qBittorrent"),
|
||||
tr("The download list is not empty.\nAre you sure you want to quit qBittorrent?"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue