diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-09-14 08:55:20 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-09-14 08:55:20 (GMT) |
commit | 57295fb967cd7d50a1e4113edf995b9592d1576f (patch) | |
tree | 4805c52028407a0376738070749c182e11547591 /src/declarative/qml/qdeclarativescriptparser.cpp | |
parent | 740e1f88da76b9d52bc0b5600b808e91cec97f73 (diff) | |
download | Qt-57295fb967cd7d50a1e4113edf995b9592d1576f.zip Qt-57295fb967cd7d50a1e4113edf995b9592d1576f.tar.gz Qt-57295fb967cd7d50a1e4113edf995b9592d1576f.tar.bz2 |
Fix compile warnings.
Reviewed-by: Thomas Hartmann <thomas.hartmann@nokia.com>
Diffstat (limited to 'src/declarative/qml/qdeclarativescriptparser.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativescriptparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativescriptparser.cpp b/src/declarative/qml/qdeclarativescriptparser.cpp index c956051..57cc9ab 100644 --- a/src/declarative/qml/qdeclarativescriptparser.cpp +++ b/src/declarative/qml/qdeclarativescriptparser.cpp @@ -895,7 +895,7 @@ QList<QDeclarativeError> QDeclarativeScriptParser::errors() const static void replaceWithSpace(QString &str, int idx, int n) { QChar *data = str.data() + idx; - QChar space(' '); + const QChar space(QLatin1Char(' ')); for (int ii = 0; ii < n; ++ii) *data++ = space; } |