qtquick: Use the fallback mouse grabber

This code was needing porting.
This commit is contained in:
Sergio Martins
2022-05-30 19:31:30 +01:00
parent 22f6f4b2f1
commit 30ca6769e4
7 changed files with 20 additions and 14 deletions

View File

@@ -124,3 +124,9 @@ View *Platform_qtwidgets::createView(View *parent) const
{
return new Views::View_qtwidgets<QWidget>(nullptr, Type::None, Views::View_qtwidgets<QWidget>::asQWidget(parent));
}
bool Platform_qtwidgets::usesFallbackMouseGrabber() const
{
// For QtWidgets we just use QWidget::grabMouse()
return false;
}