Remove old ViewWrapper::asDropArea()
It's unneeded, and it wasn't implemented for QtQuick
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -57,7 +57,6 @@ public:
|
||||
bool isNull() const override;
|
||||
void setWindowTitle(const QString &title) override;
|
||||
QPoint mapTo(View *, QPoint) const override;
|
||||
Controllers::DropArea *asDropArea() const override;
|
||||
bool testAttribute(Qt::WidgetAttribute) const override;
|
||||
void setCursor(Qt::CursorShape) override;
|
||||
QSize minSize() const override;
|
||||
|
||||
Reference in New Issue
Block a user