- Window can now stay maximized on exit

This commit is contained in:
Christophe Dumez 2007-04-04 14:53:00 +00:00
parent a0743c0713
commit 81d05a67b3
3 changed files with 4 additions and 2 deletions

View file

@ -7,6 +7,7 @@
- FEATURE: Allow the user to disable system tray integration - FEATURE: Allow the user to disable system tray integration
- FEATURE: Search engine is now using one thread per website for faster results - 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 - 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 torrent properties a little
- COSMETIC: Redesigned options a little - COSMETIC: Redesigned options a little
- COSMETIC: Display more logs messages concerning features - COSMETIC: Display more logs messages concerning features

2
TODO
View file

@ -31,7 +31,7 @@
// in v0.10 (partial) - WIP // in v0.10 (partial) - WIP
- Download from RSS feeds (WIP by gtsoul, clean & finish rss.h, add a tab in mainWindow, debug) - 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) : - Improve torrent creation dialog (look & features) :
- Add Private combobox (allow to share on DHT or not) - Add Private combobox (allow to share on DHT or not)
- Use a QListWidget to allow multiple input paths - Use a QListWidget to allow multiple input paths

View file

@ -675,7 +675,8 @@ void GUI::closeEvent(QCloseEvent *e){
} }
if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool() && nbTorrents != 0){ if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool() && nbTorrents != 0){
show(); show();
showNormal(); if(!isMaximized())
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"),
tr("The download list is not empty.\nAre you sure you want to quit qBittorrent?"), tr("The download list is not empty.\nAre you sure you want to quit qBittorrent?"),