forked from lthn/blockchain
fixed compilation errors in url filter
This commit is contained in:
parent
7478b48a56
commit
e113152cc5
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue