diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-06-25 09:54:00 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-06-25 09:54:00 +0200 |
commit | aa3048bf531f6dd3a33fb911886b64e9371bf853 (patch) | |
tree | f4133e92ff7d95c535df7c12138d3386796909c4 | |
parent | 33a87777b2d4decadfd860298fc6d63e92004c0a (diff) | |
download | qtquickcontrols-aa3048bf531f6dd3a33fb911886b64e9371bf853.tar.gz |
Remove usages of deprecated QLatin1Literal
Task-number: QTBUG-76491
Change-Id: I7cde087044916a8f434c04182be34caa8ca37b17
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
-rw-r--r-- | src/controls/Private/qquickstyleitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/qquickstyleitem.cpp b/src/controls/Private/qquickstyleitem.cpp index f9596d35..08f80713 100644 --- a/src/controls/Private/qquickstyleitem.cpp +++ b/src/controls/Private/qquickstyleitem.cpp @@ -1466,7 +1466,7 @@ void QQuickStyleItem1::paint(QPainter *painter) case ItemRow :{ QPixmap pixmap; // Only draw through style once - const QString pmKey = QLatin1Literal("itemrow") % QString::number(m_styleoption->state,16) % activeControl(); + const QString pmKey = QLatin1String("itemrow") % QString::number(m_styleoption->state,16) % activeControl(); if (!QPixmapCache::find(pmKey, &pixmap) || pixmap.width() < width() || height() != pixmap.height()) { int newSize = width(); pixmap = QPixmap(newSize, height()); |