qt5base-lts/tests/auto/gui/itemmodels
Andreas Buhr 63937ffe6e Fix flags in QFileSystemModel
In 63eea5e5c69434871eaef9d9dc7184d7e54d7276, the
Qt::ItemNeverHasChildren flag was introduced. QFileSystemModel
was modified to use this flag for items which are not directories,
but only if the QFileSystemModel is not read-only and
the directory is writable.
This patch modifies QFileSystemModel to use the ItemNeverHasChildren
flags also if the model is read-only and if the item
is read-only.

Amends 63eea5e5c69434871eaef9d9dc7184d7e54d7276

Change-Id: Ie7f7d58ecf7baade93f9f03d120da84d3c005d42
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2022-02-02 10:28:13 +01:00
..
qfilesystemmodel Fix flags in QFileSystemModel 2022-02-02 10:28:13 +01:00
qstandarditem Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstandarditemmodel emit layoutAboutToBeChanged timely 2021-07-20 21:27:27 +01:00
CMakeLists.txt Fix tests to build in a no-widgets configuration 2020-09-15 15:55:47 +02:00