From e113152cc52384c4f1a976b716c7e28bc0aa92fc Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Thu, 6 Jan 2022 16:41:25 +0100 Subject: [PATCH] fixed compilation errors in url filter --- src/gui/qt-daemon/application/urleventfilter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/qt-daemon/application/urleventfilter.cpp b/src/gui/qt-daemon/application/urleventfilter.cpp index 3fb1b24d..910b10f4 100644 --- a/src/gui/qt-daemon/application/urleventfilter.cpp +++ b/src/gui/qt-daemon/application/urleventfilter.cpp @@ -7,11 +7,13 @@ bool URLEventFilter::eventFilter(QObject *obj, QEvent *event) QFileOpenEvent *fileEvent = static_cast(event); if(!fileEvent->url().isEmpty()) { - m_pmainwindow->handle_deeplink_click(fileEvent->url()); + m_pmainwindow->handle_deeplink_click(fileEvent->url().toString()); //QMessageBox msg; //msg.setText(fileEvent->url().toString()); //msg.exec(); + return true; } + return true; } else { // standard event processing return QObject::eventFilter(obj, event);