Rename View::window() to View::rootView()

window() was an artifact of Qt4 times, when QWindow didn't exist yet.
This commit is contained in:
Sergio Martins
2022-05-01 22:51:27 +01:00
parent 4b41291830
commit fff3adf967
17 changed files with 26 additions and 27 deletions

View File

@@ -160,7 +160,7 @@ bool ViewWrapper_qtquick::is(Type t) const
return false;
}
std::shared_ptr<ViewWrapper> ViewWrapper_qtquick::window() const
std::shared_ptr<ViewWrapper> ViewWrapper_qtquick::rootView() const
{
// return std::shared_ptr<ViewWrapper>(new ViewWrapper_qtquick(m_item->window()));
return {};