Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-119797

[Reg 6.5.3 -> 6.6.1]QFileIconProvider.icon of a file only give general file icon

    XMLWordPrintable

Details

    • macOS, Windows
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              chehrlic Christian Ehrlicher
              alban_go2 Alban Pellet
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes