Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1560

QFileSystemModel doesn't provide icons anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.0.4
    • PySide
    • None
    • Windows

    Description

      Using QFileSystemModel in combination with a QTreeView doesn't show icons:

      PySide2 okay

      but PySide6:

      Setting a QFileIconProvider returns an empty space for the icon, at least:

      Attachments

        1. fs_model_no_icons.py
          1 kB
          Tobias Rzepka
        2. image-2021-05-06-23-04-38-688.png
          4 kB
          Tobias Rzepka
        3. image-2021-05-06-23-04-55-432.png
          3 kB
          Tobias Rzepka
        4. image-2021-05-06-23-06-51-714.png
          3 kB
          Tobias Rzepka

        Issue Links

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              t.rzepka Tobias Rzepka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: