Qml: Use QString::append(QStringRef) overload in ProcessAST::asString
authorhjk <hjk121@nokiamail.com>
Wed, 6 Feb 2013 09:28:13 +0000 (10:28 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 6 Feb 2013 10:59:57 +0000 (11:59 +0100)
Change-Id: Ifc9d276e0d4f9e2ff9a89c7edbe34a04ab080774
Reviewed-by: Kai Koehne <kai.koehne@digia.com>

src/qml/qml/qqmlscript.cpp

index 2f8750e..613ff24 100644 (file)
@@ -651,7 +651,7 @@ QString ProcessAST::asString(AST::UiQualifiedId *node) const
     QString s;
 
     for (AST::UiQualifiedId *it = node; it; it = it->next) {
-        s.append(it->name.toString());
+        s.append(it->name);
 
         if (it->next)
             s.append(QLatin1Char('.'));