- window can now stay maximized on exit

This commit is contained in:
Christophe Dumez 2007-04-04 14:56:40 +00:00
commit cb08280180
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,6 @@
* Unknown - Christophe Dumez <chris@qbittorrent.org> - v0.9.2
- BUGFIX: Window can now stay maximized on exit
* Wed Apr 04 2007 - Christophe Dumez <chris@qbittorrent.org> - v0.9.1 * Wed Apr 04 2007 - Christophe Dumez <chris@qbittorrent.org> - v0.9.1
- BUGFIX: A lot of fixes in configure file - BUGFIX: A lot of fixes in configure file

View file

@ -816,6 +816,7 @@ void GUI::closeEvent(QCloseEvent *e){
} }
if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool()){ if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool()){
show(); show();
if(!isMaximized())
showNormal(); showNormal();
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"),