summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetext/qtbug_14865.qml
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-11-10 23:00:14 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-11-10 23:00:14 (GMT)
commitad925d41019d5e5c47143ab91f775f970995ad0d (patch)
treead05cea02ddf9c87b832fc7111bb1b09f5203408 /tests/auto/declarative/qmlvisual/qdeclarativetext/qtbug_14865.qml
parentb7d91c0d798bc10dd4f8a750723285076fb96935 (diff)
parent38e1ed3b51d6aad46912eb548490d038e58203d9 (diff)
downloadQt-ad925d41019d5e5c47143ab91f775f970995ad0d.zip
Qt-ad925d41019d5e5c47143ab91f775f970995ad0d.tar.gz
Qt-ad925d41019d5e5c47143ab91f775f970995ad0d.tar.bz2
Merge branch '4.7-upstream' into 4.7-water
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetext/qtbug_14865.qml')
-rw-r--r--tests/auto/declarative/qmlvisual/qdeclarativetext/qtbug_14865.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/qtbug_14865.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/qtbug_14865.qml
new file mode 100644
index 0000000..3d5fbf0
--- /dev/null
+++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/qtbug_14865.qml
@@ -0,0 +1,18 @@
+import QtQuick 1.0
+import "../shared" 1.0
+
+Rectangle {
+ width: 200; height: 200
+
+ TestText {
+ id: label
+ objectName: "label"
+ text: "Hello world!"
+ width: 10
+ }
+
+ Timer {
+ running: true; interval: 1000
+ onTriggered: label.text = ""
+ }
+}