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/util/qmlconnection.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/util/qmlconnection.cpp')
-rw-r--r-- | src/declarative/util/qmlconnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qmlconnection.cpp b/src/declarative/util/qmlconnection.cpp index b2fd450..500e728 100644 --- a/src/declarative/util/qmlconnection.cpp +++ b/src/declarative/util/qmlconnection.cpp @@ -165,7 +165,7 @@ void QmlConnection::connectIfValid() QList<QByteArray> sigparams; if (lparen >= 0 && d->signal.length() > lparen+2) { QStringList l = d->signal.mid(lparen+1,d->signal.length()-lparen-2).split(QLatin1Char(',')); - foreach (QString s, l) { + foreach (const QString &s, l) { sigparams.append(s.toLatin1()); } } |