Skip to content

Use KIconLoader instead of QIcon::fromTheme

Use KIconLoader instead of QIcon::fromTheme, otherwise it will not return the proper icon on platforms such as Windows, where the icon resources are not initialized in that context. This fixes the folder thumbnailing on Windows (which didn't work at all due to the null pixmap) and possibly other platforms.

image

Tested only on Windows (MSVC 2022)

Merge request reports

Loading