From a084a26275c1b5b0ddc5547ed230fa0b244598d6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 28 Oct 2014 10:53:32 +0100 Subject: typo --- facetracknoir/ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3