Remove old ViewWrapper::asDropArea()

It's unneeded, and it wasn't implemented for QtQuick
This commit is contained in:
Sergio Martins
2022-06-06 10:28:44 +01:00
parent eb198736b8
commit 581451c342
5 changed files with 5 additions and 19 deletions

View File

@@ -291,13 +291,6 @@ bool ViewWrapper_qtwidgets::isNull() const
return m_widget.data() == nullptr;
}
Controllers::DropArea *ViewWrapper_qtwidgets::asDropArea() const
{
if (auto view = qobject_cast<DropArea_qtwidgets *>(m_widget))
return view->asDropAreaController();
return nullptr;
}
QWidget *ViewWrapper_qtwidgets::widget() const
{
return m_widget;