aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/templates/qquickstackview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/qquickstackview.cpp b/src/templates/qquickstackview.cpp
index e127d79f..d209b909 100644
--- a/src/templates/qquickstackview.cpp
+++ b/src/templates/qquickstackview.cpp
@@ -414,7 +414,7 @@ QQuickItem *QQuickStackView::find(const QJSValue &callback, LoadBehavior behavio
stackView.push([rect1, rect2, rect3])
// or with properties:
- stackView.push([rect1 {"color": "red"}, rect2, {"color": "green"}, rect3, {"color": "blue"}])
+ stackView.push([rect1, {"color": "red"}, rect2, {"color": "green"}, rect3, {"color": "blue"}])
\endcode
An \a operation can be optionally specified as the last argument. Supported
@@ -589,7 +589,7 @@ void QQuickStackView::pop(QQmlV4Function *args)
stackView.replace([rect1, rect2, rect3])
// or with properties:
- stackView.replace([rect1 {"color": "red"}, rect2, {"color": "green"}, rect3, {"color": "blue"}])
+ stackView.replace([rect1, {"color": "red"}, rect2, {"color": "green"}, rect3, {"color": "blue"}])
\endcode
An \a operation can be optionally specified as the last argument. Supported