diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-01-18 01:43:36 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-01-18 01:49:46 (GMT) |
commit | c5f7b5d382b14ff73fc40044c395148d15844c2f (patch) | |
tree | fd076deec706e54c457c03bb411e315d5587e2ce /src/declarative/util/qmlconnection.cpp | |
parent | b58738e7ea91aa9f14b213268f338507c6529ba4 (diff) | |
download | Qt-c5f7b5d382b14ff73fc40044c395148d15844c2f.zip Qt-c5f7b5d382b14ff73fc40044c395148d15844c2f.tar.gz Qt-c5f7b5d382b14ff73fc40044c395148d15844c2f.tar.bz2 |
Handle whitespace in Connection signal signatures.
Task-number: QTBUG-7210
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 f5fbd3f..800fd6b 100644 --- a/src/declarative/util/qmlconnection.cpp +++ b/src/declarative/util/qmlconnection.cpp @@ -172,7 +172,7 @@ void QmlConnection::connectIfValid() if (lparen >= 0 && d->signal.length() > lparen+2) { QStringList l = d->signal.mid(lparen+1,d->signal.length()-lparen-2).split(QLatin1Char(',')); foreach (const QString &s, l) { - sigparams.append(s.toUtf8()); + sigparams.append(s.trimmed().toUtf8()); } } QString signalname = d->signal.left(lparen); |