mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- window can now stay maximized on exit
This commit is contained in:
@@ -816,7 +816,8 @@ void GUI::closeEvent(QCloseEvent *e){
|
||||
}
|
||||
if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool()){
|
||||
show();
|
||||
showNormal();
|
||||
if(!isMaximized())
|
||||
showNormal();
|
||||
if(QMessageBox::question(this,
|
||||
tr("Are you sure you want to quit?")+" -- "+tr("qBittorrent"),
|
||||
tr("Are you sure you want to quit qBittorrent?"),
|
||||
|
||||
Reference in New Issue
Block a user