Commit b611ad6b authored by Jens Bache-Wiig's avatar Jens Bache-Wiig Committed by The Qt Project
Browse files

Fix regression in ScrollView

The regression was introduced in
060a6afd



The parent of our contentItem should really be the
flickables contentItem. Otherwise we don't scroll at all.

Change-Id: I75a9b68134bb2098f59436d23ff79ec600321963
Reviewed-by: default avatarGabriel de Dietrich <gabriel.dedietrich@digia.com>
parent 72730784
No related merge requests found
Showing with 1 addition and 1 deletion
......@@ -146,7 +146,7 @@ FocusScope {
internal.flickableItem = contentItem // "Use content if it is a flickable
} else {
internal.flickableItem = flickableComponent.createObject(this)
contentItem.parent = internal.flickableItem
contentItem.parent = internal.flickableItem.contentItem
}
internal.flickableItem.parent = viewportItem
internal.flickableItem.anchors.fill = viewportItem
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment