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
For Gerrit Dashboard: QTBUG-119797 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
523689,3 | QAbstractFileIconEngine: reimplement isNull() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
524144,2 | QAbstractFileIconEngine: reimplement isNull() | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
525169,2 | QAbstractFileIconEngine: reimplement isNull() | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
536179,1 | QAbstractFileIconEngine: reimplement isNull() | 6.6.1 | qt/qtbase | Status: ABANDONED | 0 | 0 |