https://bugs.kde.org/show_bug.cgi?id=358926

--- Comment #6 from Diabolo <olvm...@free.fr> ---
I have found a momentary workaround, you can try
first
    QMimeDatabase mimeDatabase;
    QFileInfo fileInfo ( fileName );
    QMimeType mimeType = mimeDatabase.mimeTypeForFile( fileInfo );
and then
    it->setIcon ( 0,  QIcon::fromTheme( mimeType.iconName() ) );
show the good icon.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to