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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important 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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes