summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-26 04:39:34 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-26 04:39:34 (GMT)
commitd51e31dbbef822f8d48e4d2c4a7c7c03766c5cc7 (patch)
tree547893fcb58983a4137219f0dc8e0e2a49894ef2 /examples/declarative/tutorials
parentacf19f045ef7d6587c1f21f3270b62c16490cd27 (diff)
downloadQt-d51e31dbbef822f8d48e4d2c4a7c7c03766c5cc7.zip
Qt-d51e31dbbef822f8d48e4d2c4a7c7c03766c5cc7.tar.gz
Qt-d51e31dbbef822f8d48e4d2c4a7c7c03766c5cc7.tar.bz2
use enums rather than strings in examples
Diffstat (limited to 'examples/declarative/tutorials')
-rw-r--r--examples/declarative/tutorials/helloworld/tutorial3.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/tutorials/helloworld/tutorial3.qml b/examples/declarative/tutorials/helloworld/tutorial3.qml
index d641eba..534d663 100644
--- a/examples/declarative/tutorials/helloworld/tutorial3.qml
+++ b/examples/declarative/tutorials/helloworld/tutorial3.qml
@@ -11,7 +11,7 @@ Rectangle {
text: "Hello world!"
font.pointSize: 24; font.bold: true
y: 30; anchors.horizontalCenter: page.horizontalCenter
- transformOrigin: "Center"
+ transformOrigin: Item.Center
//![1]
MouseRegion { id: mouseRegion; anchors.fill: parent }