fixed compilation errors in url filter

This commit is contained in:
cryptozoidberg 2022-01-06 16:41:25 +01:00
parent 7478b48a56
commit e113152cc5
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -7,11 +7,13 @@ bool URLEventFilter::eventFilter(QObject *obj, QEvent *event)
QFileOpenEvent *fileEvent = static_cast<QFileOpenEvent*>(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);