From cb08280180f750f15b92e6f3c008f613a148e496 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 4 Apr 2007 14:56:40 +0000 Subject: [PATCH] - window can now stay maximized on exit --- Changelog | 3 +++ src/GUI.cpp | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 887cd84a0..0601d5706 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,6 @@ +* Unknown - Christophe Dumez - v0.9.2 + - BUGFIX: Window can now stay maximized on exit + * Wed Apr 04 2007 - Christophe Dumez - v0.9.1 - BUGFIX: A lot of fixes in configure file diff --git a/src/GUI.cpp b/src/GUI.cpp index 926dc643c..f8a943ced 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -816,7 +816,8 @@ void GUI::closeEvent(QCloseEvent *e){ } if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool()){ show(); - showNormal(); + if(!isMaximized()) + showNormal(); if(QMessageBox::question(this, tr("Are you sure you want to quit?")+" -- "+tr("qBittorrent"), tr("Are you sure you want to quit qBittorrent?"),