aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/timelineeditor/timelineactions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/timelineeditor/timelineactions.cpp')
-rw-r--r--src/plugins/qmldesigner/components/timelineeditor/timelineactions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/timelineeditor/timelineactions.cpp b/src/plugins/qmldesigner/components/timelineeditor/timelineactions.cpp
index 4d2523b3a3..c9271e490c 100644
--- a/src/plugins/qmldesigner/components/timelineeditor/timelineactions.cpp
+++ b/src/plugins/qmldesigner/components/timelineeditor/timelineactions.cpp
@@ -252,7 +252,7 @@ std::vector<std::tuple<ModelNode, qreal>> getFramesRelative(const ModelNode &par
if (!sortedByTime.empty()) {
qreal firstTime = getTime(sortedByTime.first());
- for (ModelNode keyframe : sortedByTime)
+ for (const ModelNode &keyframe : sortedByTime)
result.emplace_back(keyframe, getTime(keyframe) - firstTime);
}