aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Tkachenko <me@ratijas.tk>2021-10-25 18:25:28 +0300
committerIvan Tkachenko <me@ratijas.tk>2021-10-26 04:00:14 +0300
commit34e264f299fcca413417e7b5d8496cdc276f5bb3 (patch)
tree5bc531fa2a944948badbf75fb40f5d382313426c
parent5aa0a4f722b46f90d42c61480da30ac2e3405755 (diff)
Doc: Fix QML syntax in one of the Item's examples
Amends commit 18819494ccc1afe5347babaea82fb03486987dc9. Change-Id: I9e0699aff7745228d29b94b6e04a6487945d22c0 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r--src/quick/items/qquickitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp
index 17c6b79f02..99648c6736 100644
--- a/src/quick/items/qquickitem.cpp
+++ b/src/quick/items/qquickitem.cpp
@@ -2005,7 +2005,7 @@ void QQuickItemPrivate::updateSubFocusItem(QQuickItem *scope, bool focus)
\qml
Item {
id: layerRoot
- layer.enabled = true
+ layer.enabled: true
layer.effect: ShaderEffect {
fragmentShader: "effect.frag.qsb"
}