Browse Source

- BUGFIX: Fixed minimize to tray feature

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
dea9237aa0
  1. 1
      TODO
  2. 2
      src/GUI.cpp

1
TODO

@ -58,3 +58,4 @@ @@ -58,3 +58,4 @@
rc5->rc6 changelog:
- BUGFIX: configure looks for libraries in lib64 folders too
- BUGFIX: configure doesn't require paths with a terminal "/" anymore
- BUGFIX: Fixed minimize to tray feature

2
src/GUI.cpp

@ -519,7 +519,7 @@ void GUI::on_actionCreate_torrent_triggered() { @@ -519,7 +519,7 @@ void GUI::on_actionCreate_torrent_triggered() {
// Called when we minimize the program
void GUI::hideEvent(QHideEvent *e) {
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
if(systrayIntegration && settings.value(QString::fromUtf8("Preferences/General/MinimizeToTray"), false).toBool() && !e->spontaneous()) {
if(systrayIntegration && settings.value(QString::fromUtf8("Preferences/General/MinimizeToTray"), false).toBool()) {
// Hide window
hide();
}

Loading…
Cancel
Save