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

QDir::entryList() includes hidden directories when Filters parameter includes QDir::Hidden but not QDir::Dirs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • Some future release
    • 4.6.0, 4.6.1, 4.6.2, 4.6.3, 4.7.0
    • Core: I/O
    • None
    • Linux

    Description

      QDir::entryList(QDir::Files|QDir::Hidden|QDir::System) includes directories in the listing – there doesn't seem to be a difference between QDir::entryList(QDir::Files|QDir::Hidden|QDir::System) and QDir::entryList(QDir::Files|QDir::Dirs|QDir::Hidden|QDir::System) [where IMO only the latter should include directories].

      Same goes for QDir::entryInfoList.

      Attachments

        Issue Links

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

          Activity

            People

              earthdomain Earth Domain (Inactive)
              bero Bernhard Rosenkränzer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes