https://bugs.kde.org/show_bug.cgi?id=462307
Evgeny Brazgin <k...@xapienz.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |k...@xapienz.ru --- Comment #17 from Evgeny Brazgin <k...@xapienz.ru> --- Thanks Benjamin for finding the cause! I found a shorter workaround — just wrap a pixmap into QIcon. diff --git a/app/Panel/PanelView/listmodel.cpp b/app/Panel/PanelView/listmodel.cpp index d6ad6c5f..7731e895 100644 --- a/app/Panel/PanelView/listmodel.cpp +++ b/app/Panel/PanelView/listmodel.cpp @@ -177,7 +177,7 @@ QVariant ListModel::data(const QModelIndex& index, int role) const if (properties()->displayIcons) { if (_justForSizeHint) return QPixmap(_view->fileIconSize(), _view->fileIconSize()); - return _view->getIcon(fileitem); + return QIcon(_view->getIcon(fileitem)); } break; } It might be more efficient to change all the inner calls of it to directly return QIcon (because this is what the things inside operate with), however that would be a lot more complicated solution. -- You are receiving this mail because: You are watching all bug changes.