Add mouse move and release events to EventFilterInterface

This commit is contained in:
Sergio Martins
2022-07-02 20:15:13 +01:00
parent 7d21516f6d
commit 0963967939
5 changed files with 10 additions and 10 deletions

View File

@@ -158,7 +158,7 @@ public:
auto view = Platform::instance()->qobjectAsView(watched);
for (EventFilterInterface *filter : qAsConst(q->d->m_globalEventFilters)) {
if (filter->onMouseButtonPress(view, ev))
if (filter->onMouseButtonPress(view.get(), ev))
return true;
}