mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
Bring mainWindow to foreground when asking for exit confirmation
This commit is contained in:
@@ -814,6 +814,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?"),
|
||||
|
||||
@@ -11,7 +11,7 @@ TARGET = qbittorrent
|
||||
CONFIG += qt thread x11
|
||||
|
||||
# Update this VERSION for each release
|
||||
DEFINES += VERSION=\\\"v0.9.0rc1\\\"
|
||||
DEFINES += VERSION=\\\"v0.9.0rc2\\\"
|
||||
DEFINES += VERSION_MAJOR=0
|
||||
DEFINES += VERSION_MINOR=9
|
||||
DEFINES += VERSION_BUGFIX=0
|
||||
|
||||
Reference in New Issue
Block a user