summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-05-26 11:24:37 +1000
committerYann Bodson <yann.bodson@nokia.com>2010-05-26 11:25:18 +1000
commit113d7a6a1eab75ad5673f9b50ccf8df456b5d628 (patch)
tree6bf3617e834075e5194fb69e243e46d5b9f1af05 /doc
parent3d34201d34ba26530025d5ff88fa6e498ae6f800 (diff)
Fix Gradient doc snippet.
Diffstat (limited to 'doc')
-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 d25352bde8..7a68233e3b 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]