mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 06:13:36 -07:00
Bring mainWindow to foreground when asking for exit confirmation
This commit is contained in:
parent
df06fcac03
commit
b87882dd59
3 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
||||||
- BUGFIX: Let libtorrent store the torrent handles (save memory)
|
- BUGFIX: Let libtorrent store the torrent handles (save memory)
|
||||||
- BUGFIX: Set DHT Port only when DHT is enabled
|
- BUGFIX: Set DHT Port only when DHT is enabled
|
||||||
- BUGFIX: Made ipfilter.dat parser less sensitive to errors
|
- BUGFIX: Made ipfilter.dat parser less sensitive to errors
|
||||||
|
- BUGFIX: Bring main window to foreground when asking for exit confirmation
|
||||||
- I18N: Added Danish translation
|
- I18N: Added Danish translation
|
||||||
- I18N: Better internationalization thanks to dynamic text support
|
- I18N: Better internationalization thanks to dynamic text support
|
||||||
- COSMETIC: Replaced OSD messages by Qt4.2 systray messages
|
- COSMETIC: Replaced OSD messages by Qt4.2 systray messages
|
||||||
|
|
|
@ -814,6 +814,7 @@ void GUI::closeEvent(QCloseEvent *e){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool()){
|
if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool()){
|
||||||
|
show();
|
||||||
if(QMessageBox::question(this,
|
if(QMessageBox::question(this,
|
||||||
tr("Are you sure you want to quit?")+" -- "+tr("qBittorrent"),
|
tr("Are you sure you want to quit?")+" -- "+tr("qBittorrent"),
|
||||||
tr("Are you sure you want to quit qBittorrent?"),
|
tr("Are you sure you want to quit qBittorrent?"),
|
||||||
|
|
|
@ -11,7 +11,7 @@ TARGET = qbittorrent
|
||||||
CONFIG += qt thread x11
|
CONFIG += qt thread x11
|
||||||
|
|
||||||
# Update this VERSION for each release
|
# Update this VERSION for each release
|
||||||
DEFINES += VERSION=\\\"v0.9.0rc1\\\"
|
DEFINES += VERSION=\\\"v0.9.0rc2\\\"
|
||||||
DEFINES += VERSION_MAJOR=0
|
DEFINES += VERSION_MAJOR=0
|
||||||
DEFINES += VERSION_MINOR=9
|
DEFINES += VERSION_MINOR=9
|
||||||
DEFINES += VERSION_BUGFIX=0
|
DEFINES += VERSION_BUGFIX=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue