summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qiconloader.cpp
diff options
context:
space:
mode:
authorDebao Zhang <dbzhang800@gmail.com>2012-04-16 13:16:11 -0700
committerQt by Nokia <qt-info@nokia.com>2012-04-25 01:56:56 +0200
commit6fb0110f972b8d9de22c7c06246b68bd7b6ebe50 (patch)
tree5f9139317ca0e4ed93774efbccebbc58d79a286d /src/widgets/kernel/qiconloader.cpp
parentb9790a04eeba664ecdf9ace24911094a71b5f0bd (diff)
Using QLatin1String instead of QLatin1Literal
QLatin1Literal is just a typedef of QLatin1String. Change-Id: If20ca225e57a7fb45a7775f0fc81aedb6da88c96 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/kernel/qiconloader.cpp')
-rw-r--r--src/widgets/kernel/qiconloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qiconloader.cpp b/src/widgets/kernel/qiconloader.cpp
index a0ee95c80c..e1828fd1f1 100644
--- a/src/widgets/kernel/qiconloader.cpp
+++ b/src/widgets/kernel/qiconloader.cpp
@@ -507,7 +507,7 @@ QPixmap PixmapEntry::pixmap(const QSize &size, QIcon::Mode mode, QIcon::State st
basePixmap.load(filename);
int actualSize = qMin(size.width(), size.height());
- QString key = QLatin1Literal("$qt_theme_")
+ QString key = QLatin1String("$qt_theme_")
% HexString<qint64>(basePixmap.cacheKey())
% HexString<int>(mode)
% HexString<qint64>(qApp->palette().cacheKey())