summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-02-12 05:17:15 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-02-12 05:17:15 (GMT)
commitf468cb54e4b9a7f19377ca1e07c313beb71e1025 (patch)
tree651d4d62b37be705f72c52650a107128424ea44f /src/declarative/qml
parent5cdeb08485f3ed49efc3d0b918254e78ad00c84b (diff)
downloadQt-f468cb54e4b9a7f19377ca1e07c313beb71e1025.zip
Qt-f468cb54e4b9a7f19377ca1e07c313beb71e1025.tar.gz
Qt-f468cb54e4b9a7f19377ca1e07c313beb71e1025.tar.bz2
Fix warnings
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qmlcompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcompiler.cpp b/src/declarative/qml/qmlcompiler.cpp
index 26ebd27..10150de 100644
--- a/src/declarative/qml/qmlcompiler.cpp
+++ b/src/declarative/qml/qmlcompiler.cpp
@@ -126,7 +126,7 @@ bool QmlCompiler::isValidId(const QString &val)
// TODO this will be enforced and return false
if (val.at(0).isLetter() && !val.at(0).isLower()) {
//return false;
- qWarning() << "id '" + val + "' is invalid: ids cannot start with uppercase letters. This will be enforced in an upcoming version of QML.";
+ qWarning().nospace() << "id '" << val << "' is invalid: ids cannot start with uppercase letters. This will be enforced in an upcoming version of QML.";
}
QChar u(QLatin1Char('_'));