use QStringLiteral
authorMark Brand <mabrand@mabrand.nl>
Tue, 13 Mar 2012 09:32:58 +0000 (10:32 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 13 Mar 2012 20:11:55 +0000 (21:11 +0100)
Change-Id: I0f2b6ff758524e872d38dcbdc9335264431e3dc6
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
src/widgets/styles/qstylesheetstyle.cpp

index c909def..15e03af 100644 (file)
@@ -2511,7 +2511,7 @@ void QStyleSheetStyle::setProperties(QWidget *w)
     for (int i = 0; i < decls.count(); i++) {
         const Declaration &decl = decls.at(i);
         QString property = decl.d->property;
-        if (!property.startsWith(QLatin1String("qproperty-"), Qt::CaseInsensitive))
+        if (!property.startsWith(QStringLiteral("qproperty-"), Qt::CaseInsensitive))
             continue;
         property.remove(0, 10); // strip "qproperty-"
         const QVariant value = w->property(property.toLatin1());