From 0ebdd34df356642429c0105a09a5ea6fe5519716 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 29 Mar 2007 18:46:50 +0000 Subject: [PATCH] Bring mainWindow to foreground when asking for exit confirmation --- src/GUI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GUI.cpp b/src/GUI.cpp index b2064aae6..ccbd6cc36 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -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?"),