aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/animation/pathinterpolator/pathinterpolator.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/animation/pathinterpolator/pathinterpolator.qml')
-rw-r--r--examples/quick/animation/pathinterpolator/pathinterpolator.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/animation/pathinterpolator/pathinterpolator.qml b/examples/quick/animation/pathinterpolator/pathinterpolator.qml
index a035e9ba0c..102aee9cee 100644
--- a/examples/quick/animation/pathinterpolator/pathinterpolator.qml
+++ b/examples/quick/animation/pathinterpolator/pathinterpolator.qml
@@ -15,7 +15,7 @@ Rectangle {
antialiasing: true
onPaint: {
- var context = canvas.getContext("2d")
+ let context = canvas.getContext("2d")
context.clearRect(0, 0, width, height)
context.strokeStyle = "black"
context.path = motionPath.path
@@ -71,7 +71,7 @@ Rectangle {
Text {
anchors.centerIn: parent
- text: "Box"
+ text: qsTr("Box")
}
}
}