From aa3048bf531f6dd3a33fb911886b64e9371bf853 Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Tue, 25 Jun 2019 09:54:00 +0200 Subject: Remove usages of deprecated QLatin1Literal Task-number: QTBUG-76491 Change-Id: I7cde087044916a8f434c04182be34caa8ca37b17 Reviewed-by: Marc Mutz --- src/controls/Private/qquickstyleitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/controls/Private/qquickstyleitem.cpp b/src/controls/Private/qquickstyleitem.cpp index f9596d359..08f80713d 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()); -- cgit v1.2.3