diff options
| author | Sami Shalayel <sami.shalayel@qt.io> | 2025-09-12 17:02:37 +0200 |
|---|---|---|
| committer | Sami Shalayel <sami.shalayel@qt.io> | 2025-09-18 15:42:19 +0200 |
| commit | 4808426eee97fa9e7b50ad3dc22b3a88a4d016f7 (patch) | |
| tree | 58299d76c622f87f8f4a9ef9dfee3d274e4c4af5 /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | a50af1987300d523f72115eeb376c48aebd7899b (diff) | |
QQmlCodeModel: clean-up withDependentBuildDirectories()
Avoid using split().size() and a QString and directly use count(). Avoid
unnecessary copies of bPath on the stack by using a reference, and only
stringappend "_deps" to the current build folder once. Also use
QDirListing instead of creating a QDir to avoid creating an extra
temporary list.
Change-Id: Ie3bb05d8c70a0aa8380001ea76f77faa114aba18
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
