diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-28 16:23:55 +0200 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-28 16:23:55 +0200 | 
| commit | 7a60015ba99125b493d1cb85afc072bcebb97681 (patch) | |
| tree | c161b23b42e46cac98093f8cb0940fe35c42e0a1 /gui/main-window.hpp | |
| parent | 720026a79cd6aa33c4180f2241425cdd8829b36b (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.hpp | 1 | 
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! | 
