diff options
author | Mark Brand <mabrand@mabrand.nl> | 2012-03-13 10:32:58 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-13 21:11:55 +0100 |
commit | 6c2c6a48e730888760d2328f18f2be81d6dee6d3 (patch) | |
tree | 070731ded930bac09698c7fc4faaf65e1ea37c4c | |
parent | dedd4a7a7ca9be18ed9fc958ea4da48c2f1fd82f (diff) |
use QStringLiteral
Change-Id: I0f2b6ff758524e872d38dcbdc9335264431e3dc6
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
-rw-r--r-- | src/widgets/styles/qstylesheetstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/styles/qstylesheetstyle.cpp b/src/widgets/styles/qstylesheetstyle.cpp index c909def969..15e03af69b 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()); |