diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-08-16 05:38:15 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-08-16 05:38:15 (GMT) |
commit | b83c295650b3f28bc9da542acf4652f4ce2d168b (patch) | |
tree | 794a392706234c3bcbfe66ce28bbc9806f2cfa9a /src/declarative/graphicsitems | |
parent | 7fcc1daf1762d345ca39f9599a8de2567bb8e788 (diff) | |
download | Qt-b83c295650b3f28bc9da542acf4652f4ce2d168b.zip Qt-b83c295650b3f28bc9da542acf4652f4ce2d168b.tar.gz Qt-b83c295650b3f28bc9da542acf4652f4ce2d168b.tar.bz2 |
Handle QGraphicsWidgets in Flickable
Task-number: QTBUG-12830
Reviewed-by: Michael Brasser
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeflickable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeflickable.cpp b/src/declarative/graphicsitems/qdeclarativeflickable.cpp index 19cabdd..9bcadd2 100644 --- a/src/declarative/graphicsitems/qdeclarativeflickable.cpp +++ b/src/declarative/graphicsitems/qdeclarativeflickable.cpp @@ -1027,7 +1027,7 @@ void QDeclarativeFlickable::cancelFlick() void QDeclarativeFlickablePrivate::data_append(QDeclarativeListProperty<QObject> *prop, QObject *o) { - QDeclarativeItem *i = qobject_cast<QDeclarativeItem *>(o); + QGraphicsObject *i = qobject_cast<QGraphicsObject *>(o); if (i) i->setParentItem(static_cast<QDeclarativeFlickablePrivate*>(prop->data)->contentItem); else |