summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/lib/shared/iconloader.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-01-28 20:39:09 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-01-28 20:39:09 (GMT)
commit3db151311182b8da820486044f08958a37b0f8e0 (patch)
tree74b9c3ef287e80f9b890a6fba5bfaefeee50ea95 /tools/designer/src/lib/shared/iconloader.cpp
parent9d636095403f5abecbdff8ffffe658f35ff10001 (diff)
parent7d66d263b93164ddc501050d07ddcc198921da8c (diff)
downloadQt-3db151311182b8da820486044f08958a37b0f8e0.zip
Qt-3db151311182b8da820486044f08958a37b0f8e0.tar.gz
Qt-3db151311182b8da820486044f08958a37b0f8e0.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/berlin-staging-1 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/berlin-staging-1: Designer: Fix source code scanning issues.
Diffstat (limited to 'tools/designer/src/lib/shared/iconloader.cpp')
-rw-r--r--tools/designer/src/lib/shared/iconloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/src/lib/shared/iconloader.cpp b/tools/designer/src/lib/shared/iconloader.cpp
index 2c97f62..df0bb7e 100644
--- a/tools/designer/src/lib/shared/iconloader.cpp
+++ b/tools/designer/src/lib/shared/iconloader.cpp
@@ -60,7 +60,7 @@ QDESIGNER_SHARED_EXPORT QIcon createIconSet(const QString &name)
#endif
<< (QString::fromUtf8(":/trolltech/formeditor/images/designer_") + name);
- foreach (QString f, candidates) {
+ foreach (const QString &f, candidates) {
if (QFile::exists(f))
return QIcon(f);
}