Implemented ViewWrapper::window()

Implementation was missing for qtquick and add a bug for qtwidgets.
This commit is contained in:
Sergio Martins
2022-05-03 20:02:14 +01:00
parent dc9a0145e2
commit 0a1a783054
7 changed files with 43 additions and 9 deletions

View File

@@ -32,6 +32,7 @@ std::shared_ptr<ViewWrapper> Window_qtquick::rootView() const
qWarning() << Q_FUNC_INFO << "Expected QQuickView";
}
qWarning() << Q_FUNC_INFO << "Window does not have a root";
return {};
}