aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/quick/items/qquicklistview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquicklistview.cpp b/src/quick/items/qquicklistview.cpp
index 9f2f90a2a7..06749be819 100644
--- a/src/quick/items/qquicklistview.cpp
+++ b/src/quick/items/qquicklistview.cpp
@@ -892,12 +892,12 @@ void QQuickListViewPrivate::createHighlight()
highlightWidthAnimator = new QSmoothedAnimation;
highlightWidthAnimator->velocity = highlightResizeVelocity;
highlightWidthAnimator->userDuration = highlightResizeDuration;
- highlightWidthAnimator->target = QQmlProperty(item, "width");
+ highlightWidthAnimator->target = QQmlProperty(item, QStringLiteral("width"));
highlightHeightAnimator = new QSmoothedAnimation;
highlightHeightAnimator->velocity = highlightResizeVelocity;
highlightHeightAnimator->userDuration = highlightResizeDuration;
- highlightHeightAnimator->target = QQmlProperty(item, "height");
+ highlightHeightAnimator->target = QQmlProperty(item, QStringLiteral("height"));
highlight = newHighlight;
changed = true;