summaryrefslogtreecommitdiffhomepage
path: root/gui/main-window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/main-window.hpp')
-rw-r--r--gui/main-window.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/main-window.hpp b/gui/main-window.hpp
index f992b218..8b0144b8 100644
--- a/gui/main-window.hpp
+++ b/gui/main-window.hpp
@@ -97,6 +97,9 @@ class MainWindow : public QMainWindow, private State
void closeEvent(QCloseEvent*) override;
bool event(QEvent *event) override;
bool maybe_hide_to_tray(QEvent* e);
+#if !defined _WIN32 && !defined __APPLE__
+ void annoy_if_root();
+#endif
// only use in impl file since no definition in header!
template<typename t>