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

QFileSystemModel: When changing the root of the model then it loses the named filter information causing things to appear that shouldn't

    XMLWordPrintable

Details

    Description

      QFileSystemModel: When changing the root of the model then it loses the named filter information causing things to appear that shouldn't. In the example attached, to reproduce it just click on the top level folder on the left, then traverse some folders and go back to a folder again and you will see that on the right folders and such appear even though it should just show files.

      Attachments

        1. main.cpp
          0.7 kB
        2. QtTreeTestApp.pro
          0.3 kB
        3. TreeTest.cpp
          2 kB
        4. TreeTest.h
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes