summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-28 10:53:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-10-28 10:53:32 +0100
commita084a26275c1b5b0ddc5547ed230fa0b244598d6 (patch)
tree5d45dd960656810aa572c6d3a61378b7d5ce137c /facetracknoir
parenta26e3709dd3ee26dde34fd3e50af2a2318f9a454 (diff)
typo
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/ui.cpp2
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);
}