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

QFileSystemModel shows directories with setFilter(QDir::Files)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.5, 6.6.3, 6.8.0 FF
    • 5.12.1, 5.12.2
    • Core: Item Models
    • None
    • All
    • 83e5d7486 (dev), 2ef62ff3c (6.6), 498658b72 (tqtc/lts-6.5), 23d2aaa4f (dev), e8f42cf3e (6.7), ae5bec8f2 (6.6), 72f5b35b3 (dev), e20f2a6c8 (6.7), fe88a9f1b (6.6), 4c1aac5da (tqtc/lts-6.5)

    Description

      In a file-explorer scenario, I have two QFileSystemModels: `dirsModel` set to show only dirs, and `filesModel` set to show only files.

      If I visit a dir with the `filesModel`, and then go back to its parent, it will show the visited dir in the files list.

      Attachments

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

        Activity

          People

            dfaure_kdab David Faure
            zueuk Peter Sdobnov
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: