summaryrefslogtreecommitdiffhomepage
path: root/variant/default/main-window.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-14 17:22:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-14 17:22:57 +0200
commit21c500a72696c7d6aa791d1e488bfcb7de3a4339 (patch)
tree3f68e280d91a2b36bfb485c65629f3dbf6c26953 /variant/default/main-window.hpp
parentd505a01cf02bee35b542a357926027b618ec87a1 (diff)
opentrack: fix at #726
cf. https://github.com/opentrack/opentrack/issues/726#issuecomment-387983372
Diffstat (limited to 'variant/default/main-window.hpp')
-rw-r--r--variant/default/main-window.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/variant/default/main-window.hpp b/variant/default/main-window.hpp
index 6e85a13c..bc38c517 100644
--- a/variant/default/main-window.hpp
+++ b/variant/default/main-window.hpp
@@ -96,7 +96,7 @@ class main_window : public QMainWindow, private State
void changeEvent(QEvent* e) override;
bool event(QEvent *event) override;
bool maybe_hide_to_tray(QEvent* e);
-#if !defined _WIN32 && !defined __APPLE__
+#if !defined _WIN32
void annoy_if_root();
#endif