Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5, 6.6.1
-
None
-
-
2bccacab2 (dev), 83d87c956 (6.6), 64d874c45 (tqtc/lts-6.5)
Description
requiring a QIcon from a file with QFileIconProvider.icon give only a generic icon instead of the real icon of the file
ie.
QString path ("C:/Windows/regedit.exe");
QFileIconProvider provider;
QIcon icon = provider.icon(QFileInfo(path));
icon is generic file icon instead of "regedit" icon
was working properly in previous versions
Attachments
Issue Links
- is duplicated by
-
QTBUG-120123 Reg->6.6.1: Windows11: QFileSystemModel shows only default icon for files
- Closed
- resulted from
-
QTBUG-118667 QIcon::addFile() with an invalid filename results in QFile::isNull() == false
- Closed
- resulted in
-
QTBUG-121676 cant get Icon use “QFileIconProvider ”
- Closed