summaryrefslogtreecommitdiff
path: root/src/icondelegate.cpp
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-01-05 16:34:10 -0600
committerLostDragonist <lost.dragonist@gmail.com>2019-01-05 19:11:22 -0600
commitf2c145b2fc9d6ffce838398e06f7aa583d05887d (patch)
treeeef3a53958d96977f4b97f7a1b619434caacdb6f /src/icondelegate.cpp
parentcc7d1ed7212d566de74ce24ac5188cb22f96779e (diff)
Change qPrintable to qUtf8Printable to better support non-ASCII text
Diffstat (limited to 'src/icondelegate.cpp')
-rw-r--r--src/icondelegate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/icondelegate.cpp b/src/icondelegate.cpp
index e502dc69..249dae6f 100644
--- a/src/icondelegate.cpp
+++ b/src/icondelegate.cpp
@@ -54,7 +54,7 @@ void IconDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
if (!QPixmapCache::find(fullIconId, &icon)) {
icon = QIcon(iconId).pixmap(iconWidth, iconWidth);
if (icon.isNull()) {
- qWarning("failed to load icon %s", qPrintable(iconId));
+ qWarning("failed to load icon %s", qUtf8Printable(iconId));
}
QPixmapCache::insert(fullIconId, icon);
}