Document stops as default property of Gradient
authorAlan Alpert <alan.alpert@nokia.com>
Thu, 28 Jul 2011 06:59:23 +0000 (16:59 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jul 2011 23:12:52 +0000 (01:12 +0200)
This will hopefully be copied to the QtQuick2 item when we write docs
for them.

Task-number: QTBUG-16045
Change-Id: I427b468630b59bd4bd6eca907ab12a66ee219d29
Reviewed-on: http://codereview.qt.nokia.com/2320
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/qtquick1/graphicsitems/qdeclarativerectangle.cpp

index fe324ca..4eb8a96 100644 (file)
@@ -169,6 +169,8 @@ void QDeclarative1GradientStop::updateGradient()
 
 /*!
     \qmlproperty list<GradientStop> QtQuick1::Gradient::stops
+    \default
+
     This property holds the gradient stops describing the gradient.
 
     By default, this property contains an empty list.