I have here a undesirable effect. I replaced in one of my old programs the QDirModel with QFileSystemModel. QDirModel worked fine with the following flags: QDir::NoDotAndDotDot | QDir::AllDirs | QDir::Files | QDir::Readable.

QFileSystemModel chokes on QDir::Readable. If it is present, it shows nothing at all. As if I had no read permissions at all.

Any ideas?