aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlqt/data/timeRoundtrip.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlqt/data/timeRoundtrip.qml')
-rw-r--r--tests/auto/qml/qqmlqt/data/timeRoundtrip.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlqt/data/timeRoundtrip.qml b/tests/auto/qml/qqmlqt/data/timeRoundtrip.qml
new file mode 100644
index 0000000000..9d73640c87
--- /dev/null
+++ b/tests/auto/qml/qqmlqt/data/timeRoundtrip.qml
@@ -0,0 +1,8 @@
+import QtQuick 2.0
+
+QtObject {
+ Component.onCompleted: {
+ var t = tp.time;
+ tp.time = t;
+ }
+}