summaryrefslogtreecommitdiffhomepage
path: root/variant/default/main-window.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-17 15:41:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-17 15:41:23 +0100
commitcefb6e20c2e0ed55a0951ba37ffb8bdd475c420e (patch)
treedfa8c1068c409ebad0a3ad0f3bde020a2cd2f94e /variant/default/main-window.hpp
parent65666424847bc9d3c46af82d8cd1237398a4c607 (diff)
variant/default: fix close button with tray
Using the close button must exit the program regardless of whether the tray is enabled. Restore that behavior. Reported-by: @albertolg Issue: #750
Diffstat (limited to 'variant/default/main-window.hpp')
-rw-r--r--variant/default/main-window.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/variant/default/main-window.hpp b/variant/default/main-window.hpp
index c69f1c0b..b4b7dbb7 100644
--- a/variant/default/main-window.hpp
+++ b/variant/default/main-window.hpp
@@ -97,7 +97,6 @@ class main_window : public QMainWindow, private State
void init_tray();
void changeEvent(QEvent* e) override;
- void closeEvent(QCloseEvent* ev) override;
bool event(QEvent *event) override;
bool maybe_hide_to_tray(QEvent* e);
#if !defined _WIN32 && !defined __APPLE__