aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickflickable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquickflickable.cpp')
-rw-r--r--src/quick/items/qquickflickable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquickflickable.cpp b/src/quick/items/qquickflickable.cpp
index 7ac37c2853..d1bad78d41 100644
--- a/src/quick/items/qquickflickable.cpp
+++ b/src/quick/items/qquickflickable.cpp
@@ -1737,9 +1737,9 @@ void QQuickFlickable::setRebound(QQuickTransition *transition)
and \l {Item::childrenRect.height}{childrenRect.height} properties
of the \l contentItem. For example, the previous snippet could be rewritten with:
- \qml
+ \code
contentWidth: contentItem.childrenRect.width; contentHeight: contentItem.childrenRect.height
- \endqml
+ \endcode
Though this assumes that the origin of the childrenRect is 0,0.
*/