summaryrefslogtreecommitdiffhomepage
path: root/variant/default/main-window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'variant/default/main-window.cpp')
-rw-r--r--variant/default/main-window.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp
index 03e58af4..af9c6de2 100644
--- a/variant/default/main-window.cpp
+++ b/variant/default/main-window.cpp
@@ -886,19 +886,6 @@ void main_window::changeEvent(QEvent* e)
e->ignore();
}
-void main_window::closeEvent(QCloseEvent* ev)
-{
- if (tray && tray->isVisible())
- {
- ev->ignore();
- setVisible(false);
- }
- else
- {
- ev->accept();
- }
-}
-
bool main_window::event(QEvent* event)
{
using t = QEvent::Type;