summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-05-26 01:24:37 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-05-26 01:25:18 (GMT)
commit113d7a6a1eab75ad5673f9b50ccf8df456b5d628 (patch)
tree6bf3617e834075e5194fb69e243e46d5b9f1af05 /doc/src/snippets
parent3d34201d34ba26530025d5ff88fa6e498ae6f800 (diff)
downloadQt-113d7a6a1eab75ad5673f9b50ccf8df456b5d628.zip
Qt-113d7a6a1eab75ad5673f9b50ccf8df456b5d628.tar.gz
Qt-113d7a6a1eab75ad5673f9b50ccf8df456b5d628.tar.bz2
Fix Gradient doc snippet.
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/declarative/gradient.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/gradient.qml b/doc/src/snippets/declarative/gradient.qml
index d25352b..7a68233 100644
--- a/doc/src/snippets/declarative/gradient.qml
+++ b/doc/src/snippets/declarative/gradient.qml
@@ -41,6 +41,7 @@
import Qt 4.7
+//![code]
Rectangle {
width: 100; height: 100
gradient: Gradient {
@@ -49,3 +50,4 @@ Rectangle {
GradientStop { position: 1.0; color: "green" }
}
}
+//![code]