diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2019-01-05 16:34:10 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2019-01-05 19:11:22 -0600 |
| commit | f2c145b2fc9d6ffce838398e06f7aa583d05887d (patch) | |
| tree | eef3a53958d96977f4b97f7a1b619434caacdb6f /src/icondelegate.cpp | |
| parent | cc7d1ed7212d566de74ce24ac5188cb22f96779e (diff) | |
Change qPrintable to qUtf8Printable to better support non-ASCII text
Diffstat (limited to 'src/icondelegate.cpp')
| -rw-r--r-- | src/icondelegate.cpp | 2 |
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);
}
|
