mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
- Window can now stay maximized on exit
This commit is contained in:
@@ -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?"),
|
||||
|
||||
Reference in New Issue
Block a user