qt5base-lts/tests/auto/widgets/dialogs/qfilesystemmodel
Giuseppe D'Angelo 3b093034b6 QFileSystemModel: report special files which are not symlinks
Since special files have file size == -1, they were always filtered
out by QFileSystemModel, even when passing QDir::System as filtering
option. Keep them instead.

The testcase is more convoluted than it should be because QFSM
is so broken that it returns valid indexes for invisible elements
in the model (such as filtered out elements).

Change-Id: I023a9813dbfeed7be99dded42c66b1191afdc17e
Task-number: QTBUG-20968
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2015-12-13 11:46:17 +00:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
qfilesystemmodel.pro tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
tst_qfilesystemmodel.cpp QFileSystemModel: report special files which are not symlinks 2015-12-13 11:46:17 +00:00