aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-01-09 22:10:21 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-14 19:56:50 +0100
commite2c8ef1544008c36fa6dde1a1d97b46de388386a (patch)
tree66871040afe4eac7df80a80291cc3416156816d7 /src
parenta1b64d9566a49d287a8fad122859e8a99ad92151 (diff)
Fix warning about cast from char* to QString
Use QStringLiteral. Change-Id: I201fc44b2a6bf0f7ff3ff1c9ea81ff3b64b2bba9 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src')
-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;