mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
- BUGFIX: Fixed minimize to tray feature
This commit is contained in:
parent
6099544da5
commit
dea9237aa0
3
TODO
3
TODO
@ -57,4 +57,5 @@
|
|||||||
|
|
||||||
rc5->rc6 changelog:
|
rc5->rc6 changelog:
|
||||||
- BUGFIX: configure looks for libraries in lib64 folders too
|
- BUGFIX: configure looks for libraries in lib64 folders too
|
||||||
- BUGFIX: configure doesn't require paths with a terminal "/" anymore
|
- BUGFIX: configure doesn't require paths with a terminal "/" anymore
|
||||||
|
- BUGFIX: Fixed minimize to tray feature
|
@ -519,7 +519,7 @@ void GUI::on_actionCreate_torrent_triggered() {
|
|||||||
// Called when we minimize the program
|
// Called when we minimize the program
|
||||||
void GUI::hideEvent(QHideEvent *e) {
|
void GUI::hideEvent(QHideEvent *e) {
|
||||||
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
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 window
|
||||||
hide();
|
hide();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user