diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-04-28 23:49:17 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-04-28 23:49:17 (GMT) |
commit | 978cf2724888f13ba1a0ebab65056c05fe112dad (patch) | |
tree | c5f57a95b18bef2c67211d59e8478a79cda0103c /src/declarative/fx/qfxpathview.cpp | |
parent | ef26f5c258500d98735ef3f90fa9c9576a945d56 (diff) | |
download | Qt-978cf2724888f13ba1a0ebab65056c05fe112dad.zip Qt-978cf2724888f13ba1a0ebab65056c05fe112dad.tar.gz Qt-978cf2724888f13ba1a0ebab65056c05fe112dad.tar.bz2 |
Some foreach remove/improve.
Diffstat (limited to 'src/declarative/fx/qfxpathview.cpp')
-rw-r--r-- | src/declarative/fx/qfxpathview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxpathview.cpp b/src/declarative/fx/qfxpathview.cpp index 59c7cd1..8bf0a25 100644 --- a/src/declarative/fx/qfxpathview.cpp +++ b/src/declarative/fx/qfxpathview.cpp @@ -616,7 +616,7 @@ void QFxPathViewPrivate::regenerate() void QFxPathViewPrivate::updateItem(QFxItem *item, qreal percent) { if(QObject *obj = QFxPathView::attachedProperties.value(item)) { - foreach(QString attr, path->attributes()) + foreach(const QString &attr, path->attributes()) static_cast<QFxPathViewAttached *>(obj)->setValue(attr.toLatin1(), path->attributeAt(attr, percent)); } |