Allow DragController views to have access to its controller

For consistency
This commit is contained in:
Sergio Martins
2022-07-20 13:12:52 +01:00
parent 013e390428
commit 36931e7c45
12 changed files with 17 additions and 11 deletions

View File

@@ -95,6 +95,7 @@ static Controller *controllerForItem(QQuickItem *item)
case Type::RubberBand:
case Type::LayoutItem:
case Type::ViewWrapper:
case Type::DropAreaIndicatorOverlay:
case Type::None:
// skip internal types
continue;
@@ -285,6 +286,7 @@ bool ViewWrapper_qtquick::is(Type t) const
return false; // Not support by qtquick
case Type::LayoutItem:
case Type::None:
case Type::DropAreaIndicatorOverlay:
qWarning() << Q_FUNC_INFO << "These are framework internals that are not wrapped";
return false;
case Type::ViewWrapper: