Make View::handle() non virtual

So we can still do comparisons if ~View_qtwidgets was already called.
Otherwise it would be calling a pure-virtual.
This commit is contained in:
Sergio Martins
2022-05-15 12:55:55 +01:00
parent 383e4f8abd
commit 1a47d52ed9
9 changed files with 6 additions and 24 deletions

View File

@@ -263,11 +263,6 @@ std::shared_ptr<ViewWrapper> ViewWrapper_qtwidgets::childViewAt(QPoint localPos)
return {};
}
HANDLE ViewWrapper_qtwidgets::handle() const
{
return reinterpret_cast<HANDLE>(m_widget.data());
}
void ViewWrapper_qtwidgets::grabMouse()
{
m_widget->grabMouse();