Skip to content

KFileItemModel: DetailsModeSettings::directorySizeCount forces m_sortDirsFirst

Méven Car requested to merge (removed):fix-test-kfileitemtest into release/21.04

Before this patch when !m_sortDirsFirst and DetailsModeSettings::directorySizeCount() == true, the ordering of folders before files would be affected by the sortOrder. I.e descending order would put the folders after the files.

cc @elvisangelaccio

To reproduce the bug in the first place, you'd need to set your details sorting size count to true, which is default so turned on CI while on our local settings it is most likely false.

Fix !184 (comment 201290)

Merge request reports