QStringLiteral does not build on arm gcc 4.5.2 in this condition
authorJohannes Zellner <johannes.zellner@nokia.com>
Wed, 9 Nov 2011 10:30:25 +0000 (11:30 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 10 Nov 2011 00:21:26 +0000 (01:21 +0100)
Replace QStringLiteral with QLatin1String

Change-Id: I205bcd4f446e225c3f4054798e74dd0cb356e126
Reviewed-by: Robert Griebl <robert.griebl@nokia.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>

src/declarative/util/qdeclarativepath.cpp

index 0b8349c..bf3b46e 100644 (file)
@@ -256,7 +256,7 @@ void QDeclarativePath::endpoint(QList<AttributePoint> &attributePoints, const QS
     }
 }
 
-static QString percentString(QStringLiteral("_qfx_percent"));
+static QString percentString(QLatin1String("_qfx_percent"));
 
 void QDeclarativePath::processPath()
 {