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

QTreeView on a QFileSystemModel shows children indicators even on empty directories

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.4.2
    • Widgets: Itemviews
    • None

    Description

      I use QFileSystemModel with following filters: QDir::Drives | QDir::Dirs | QDir::NoDotAndDotDot | QDir::Hidden

      When I see a folder which doesn't contain subfolders I see it as expandable folder, with marker. I shouldn't see this marker to expand folder.
      I should see these markers when folders have own subfolders.

      Attachments

        1. dirview.zip
          2 kB
          Vladimir Nomkhoev

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              nomhoi Vladimir Nomkhoev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes