aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--launcher/Application.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index bcb3aa0d..ae832b6b 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -943,15 +943,14 @@ bool Application::event(QEvent* event) {
emit clickedOnDock();
}
m_prevAppState = ev->applicationState();
- return true;
}
+#endif
if (event->type() == QEvent::FileOpen) {
auto ev = static_cast<QFileOpenEvent*>(event);
m_mainWindow->droppedURLs({ ev->url() });
- return true;
}
-#endif
+
return QApplication::event(event);
}