From: Mark Brand Date: Tue, 13 Mar 2012 09:32:58 +0000 (+0100) Subject: use QStringLiteral X-Git-Tag: qt-v5.0.0-alpha1~329 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c2c6a48e730888760d2328f18f2be81d6dee6d3;p=profile%2Fivi%2Fqtbase.git use QStringLiteral Change-Id: I0f2b6ff758524e872d38dcbdc9335264431e3dc6 Reviewed-by: Robin Burchell --- diff --git a/src/widgets/styles/qstylesheetstyle.cpp b/src/widgets/styles/qstylesheetstyle.cpp index c909def..15e03af 100644 --- a/src/widgets/styles/qstylesheetstyle.cpp +++ b/src/widgets/styles/qstylesheetstyle.cpp @@ -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());