path: root/src/plugins/platforms/android/qandroidplatformfiledialoghelper.h
diff options
authorVolker Hilsheimer <>2020-02-07 11:28:44 +0100
committerVolker Hilsheimer <>2020-02-11 17:27:41 +0100
commit4e796e0b0dcf4c0848044471021db3afce16ee5d (patch)
treed0dba19f6faddcf5fec790bbe51c6eafa7a050fb /src/plugins/platforms/android/qandroidplatformfiledialoghelper.h
parent673038ebd5c4ec3a15287e2f7ac80515988fddd3 (diff)
Stabilize QFileSystemModel::dirsBeforeFiles test
Make the test operate in its own temporary directory, so that entries left behind by other test functions don't impact this test. Also, call QFileSystemModel::sort explicitly; it would otherwise only be done once through a single-shot timer, and the test processes events until the model is populated, which might not process that delayed sorting. Since dirsBeforeFiles tests the sorting algorithm and not the sorting logic, best to do this explicitly. In case of sort failure, print diagnostics. Change-Id: I44c2b82ef1330cc8787aed2b5cbf109ef3a67876 Done-with: Friedemann Kleint <> Fixes: QTBUG-75452 Reviewed-by: Friedemann Kleint <>
Diffstat (limited to 'src/plugins/platforms/android/qandroidplatformfiledialoghelper.h')
0 files changed, 0 insertions, 0 deletions