From b093104ca633d1f0e22bbf795239adf86861897d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 1 Aug 2017 15:27:25 +0200 Subject: gui: don't hook QEvent::Show It's pointless actually. It's not emitted before WindowActivate at all. --- gui/main-window.cpp | 1 - 1 file changed, 1 deletion(-) 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: -- cgit v1.2.3