diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-28 10:53:32 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-28 10:53:32 +0100 |
commit | a084a26275c1b5b0ddc5547ed230fa0b244598d6 (patch) | |
tree | 5d45dd960656810aa572c6d3a61378b7d5ce137c | |
parent | a26e3709dd3ee26dde34fd3e50af2a2318f9a454 (diff) |
typo
-rw-r--r-- | facetracknoir/ui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp index d606ca1f..f340b1ff 100644 --- a/facetracknoir/ui.cpp +++ b/facetracknoir/ui.cpp @@ -436,7 +436,7 @@ void MainWindow::restore_from_tray(QSystemTrayIcon::ActivationReason) void MainWindow::changeEvent(QEvent* e) { - if (tray_enabled && e->type() == QEvent::WindowStateChange && (windowState() & Qt::WindowMinimized)) + if (s.tray_enabled && e->type() == QEvent::WindowStateChange && (windowState() & Qt::WindowMinimized)) hide(); QMainWindow::changeEvent(e); } |