An additional note: the QDir::Hidden flag that's used in the file browser seem to only use the same check as the one here (any path element starts with a dot), it would be nice if someone could confirm that on Windows, QDir::Hidden has no effect at all (which the documentation implies to me, but you never know).