aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/positioners
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/positioners')
-rw-r--r--examples/quick/positioners/positioners-transitions.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/positioners/positioners-transitions.qml b/examples/quick/positioners/positioners-transitions.qml
index 6081c9f8a8..f1b61c1740 100644
--- a/examples/quick/positioners/positioners-transitions.qml
+++ b/examples/quick/positioners/positioners-transitions.qml
@@ -43,12 +43,12 @@ import QtQuick 2.0
Rectangle {
id: page
width: 320; height: 480
- property int effectiveOpacity: 1.0
+ property real effectiveOpacity: 1.0
Timer {
interval: 2000
running: true
repeat: true
- onTriggered: effectiveOpacity = (effectiveOpacity == 1.0 ? 0.0 : 1.0)
+ onTriggered: effectiveOpacity = (effectiveOpacity == 1.0 ? 0.0 : 1.0);
}
Column {