From f35a30d371c414ce5961d518510155de7a0b9835 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Sat, 22 Oct 2022 23:47:53 +0800 Subject: [PATCH] oops Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com> --- launcher/Application.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/launcher/Application.cpp b/launcher/Application.cpp index bcb3aa0d3..ae832b6bf 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(event); m_mainWindow->droppedURLs({ ev->url() }); - return true; } -#endif + return QApplication::event(event); }