summaryrefslogtreecommitdiffhomepage
path: root/gui/main-window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-08-01 15:27:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-08-01 14:33:52 +0100
commitb093104ca633d1f0e22bbf795239adf86861897d (patch)
tree5c74ad7af56bd4a46a02e6f80d777455d1a742af /gui/main-window.cpp
parenta0f5131b04b94515be1700077715ae565daf7cbb (diff)
gui: don't hook QEvent::Show
It's pointless actually. It's not emitted before WindowActivate at all.
Diffstat (limited to 'gui/main-window.cpp')
-rw-r--r--gui/main-window.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp
index f6aa09fc..d302e391 100644
--- a/gui/main-window.cpp
+++ b/gui/main-window.cpp
@@ -855,7 +855,6 @@ bool MainWindow::event(QEvent* event)
{
switch (event->type())
{
- case t::Show:
case t::Hide:
case t::WindowActivate:
case t::WindowDeactivate: