From 81d05a67b357eaf40277b6868dcfcc7f5224a9d4 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 4 Apr 2007 14:53:00 +0000 Subject: [PATCH] - Window can now stay maximized on exit --- Changelog | 1 + TODO | 2 +- src/GUI.cpp | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 8a31a451a..d6e9aaec4 100644 --- a/Changelog +++ b/Changelog @@ -7,6 +7,7 @@ - FEATURE: Allow the user to disable system tray integration - FEATURE: Search engine is now using one thread per website for faster results - FEATURE: Ask for exit confirmation only if download list is not empty + - BUGFIX: Window can now stay maximized on exit - COSMETIC: Redesigned torrent properties a little - COSMETIC: Redesigned options a little - COSMETIC: Display more logs messages concerning features diff --git a/TODO b/TODO index 56a87526e..583d5eb72 100644 --- a/TODO +++ b/TODO @@ -31,7 +31,7 @@ // in v0.10 (partial) - WIP - Download from RSS feeds (WIP by gtsoul, clean & finish rss.h, add a tab in mainWindow, debug) -- Move finished torrent to another tab and keep on seeding them even after restart (finish & debug) +- Move finished torrent to another tab and keep on seeding them even after restart (debug) - Improve torrent creation dialog (look & features) : - Add Private combobox (allow to share on DHT or not) - Use a QListWidget to allow multiple input paths diff --git a/src/GUI.cpp b/src/GUI.cpp index 4cb33f966..0914fd17b 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -675,7 +675,8 @@ void GUI::closeEvent(QCloseEvent *e){ } if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool() && nbTorrents != 0){ show(); - showNormal(); + if(!isMaximized()) + showNormal(); if(QMessageBox::question(this, tr("Are you sure you want to quit?")+" -- "+tr("qBittorrent"), tr("The download list is not empty.\nAre you sure you want to quit qBittorrent?"),