aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/utils
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2025-08-20 10:41:56 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2025-08-21 08:52:39 +0000
commit6faab3de3fded69b9b1a945616b147f05f0b2f80 (patch)
tree229d99923eb076bee76ab2375fe80f4a5e19de32 /tests/auto/utils
parentf14e2c160f7e23cf6301ece827fa789b844fbc88 (diff)
PE: Refactor SelectableFilesFromDirModel::startParsing()HEADmaster
Make the buildTree() static, to make it clear that it operates only on passed arguments. Before, it used SelectableFilesModel::filter() method that operates on private fields of SelectableFilesModel, like m_files, m_selectFilesFilter, and m_hideFilesFilter, what wasn't thread safe. Introduce static filter() overload, taking additional FilterData arg. Return shared pointer to Tree from funtion executing in separate thread. Change-Id: I6661b55e227a0018fff4afeba96e70bddf0f2254 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/utils')
0 files changed, 0 insertions, 0 deletions