diff options
author | Carlos Manuel Duclos Vergara <carlos.duclos@nokia.com> | 2011-03-30 12:05:03 (GMT) |
---|---|---|
committer | Carlos Manuel Duclos Vergara <carlos.duclos@nokia.com> | 2011-03-30 12:20:14 (GMT) |
commit | b3ba4b7de3bac0e444654fe150b4e5b3cc82fb39 (patch) | |
tree | 6191316d70bd7a326dd1fd836f45fd20ff53020d /tests/auto/q3combobox | |
parent | 0cc8a2d09d8dc1d2da87878e70fad0d343b0dcd6 (diff) | |
download | Qt-b3ba4b7de3bac0e444654fe150b4e5b3cc82fb39.zip Qt-b3ba4b7de3bac0e444654fe150b4e5b3cc82fb39.tar.gz Qt-b3ba4b7de3bac0e444654fe150b4e5b3cc82fb39.tar.bz2 |
QDirIterator returns hidden directories when it should only return files
In Qt 4.5.3 and earlier, creating a QDirIterator with QDir::Files |
QDir::Hidden (i.e. search for all files, including hidden files)
returned a list of all hidden and non-hidden files in a directory tree.
In Qt 4.6.0 and later the same filter causes QDirIterator to return a
list of all hidden and non-hidden files and all hidden directories. As
the user is asking only for files, clearly returning hidden directories
too is incorrect behaviour.
Similarly, when asking for QDir::Dirs | QDir::Hidden (i.e. all
directories, including hidden directories), hidden files are also
(wrongly) returned.
Task-number: QTBUG-15421
Reviewed-by: joao
Diffstat (limited to 'tests/auto/q3combobox')
0 files changed, 0 insertions, 0 deletions