diff options
author | Ryan Cao <70191398+ryanccn@users.noreply.github.com> | 2022-10-22 23:47:53 +0800 |
---|---|---|
committer | Ryan Cao <70191398+ryanccn@users.noreply.github.com> | 2022-10-22 23:47:53 +0800 |
commit | f35a30d371c414ce5961d518510155de7a0b9835 (patch) | |
tree | 286cbe97089c849315067e7d67c55d46e7518ab9 /launcher | |
parent | 1a8de111a379cfb01cee820730d9729a4f40ac0d (diff) | |
download | PrismLauncher-f35a30d371c414ce5961d518510155de7a0b9835.tar.gz PrismLauncher-f35a30d371c414ce5961d518510155de7a0b9835.tar.bz2 PrismLauncher-f35a30d371c414ce5961d518510155de7a0b9835.zip |
oops
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/Application.cpp | 5 |
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); } |