Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.6.0
-
None
-
Qt 4.6.0 - Linux (Ubuntu Karmic)
-
b167c8b31c6da7b3eb5083396c447c679f1a591a
Description
As stated on QDirIterator's documentation, it is possible to list broken symlinks by passing the QDir::System flag, however the QFileSystemModel does not allow displaying this kind of file.
I'm trying to display all entries of a directory using the following model:
QFileSystemModel *model = new QFileSystemModel();
model->setFilter(QDir::AllDirs|QDir::AllEntries|QDir::System|QDir::Hidden|QDir::NoDotAndDotDot);
Using the same filters on a QDir::entryInfoList or QDir::entryList call works as expected.