Browse Source

Bring mainWindow to foreground when asking for exit confirmation

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
0ebdd34df3
  1. 1
      src/GUI.cpp

1
src/GUI.cpp

@ -656,6 +656,7 @@ void GUI::closeEvent(QCloseEvent *e){ @@ -656,6 +656,7 @@ void GUI::closeEvent(QCloseEvent *e){
return;
}
if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool()){
show();
if(QMessageBox::question(this,
tr("Are you sure you want to quit?")+" -- "+tr("qBittorrent"),
tr("Are you sure you want to quit qBittorrent?"),

Loading…
Cancel
Save