summaryrefslogtreecommitdiffhomepage
path: root/gui/main-window.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-28 16:23:55 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-28 16:23:55 +0200
commit7a60015ba99125b493d1cb85afc072bcebb97681 (patch)
treec161b23b42e46cac98093f8cb0940fe35c42e0a1 /gui/main-window.hpp
parent720026a79cd6aa33c4180f2241425cdd8829b36b (diff)
gui: don't update the main window if it's hidden
Diffstat (limited to 'gui/main-window.hpp')
-rw-r--r--gui/main-window.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/main-window.hpp b/gui/main-window.hpp
index d49be9c1..02e65d4c 100644
--- a/gui/main-window.hpp
+++ b/gui/main-window.hpp
@@ -95,6 +95,7 @@ class MainWindow : public QMainWindow, private State
void changeEvent(QEvent* e) override;
void closeEvent(QCloseEvent*) override;
+ bool event(QEvent *event) override;
bool maybe_hide_to_tray(QEvent* e);
// only use in impl file since no definition in header!