diff options
author | Jarek Kobus <[email protected]> | 2024-07-09 21:36:17 +0200 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2024-07-10 13:39:40 +0000 |
commit | 779390829c022f75de4a83aee8783be716e09367 (patch) | |
tree | 9a048396eac58b217cc7ad194acc423da55c0a8b /src/plugins/android/androiddevice.cpp | |
parent | c841a99db913c0a0da47854d4d9b401caa1def15 (diff) |
TaskTree: Introduce For element
Improve code readability by requiring iteratable Group
to be named For.
The For's c'tor requires an iterator element as a first arg.
The For's c'tor allows for passing exactly one iterator element.
It's not possible to place iterators inside Group element anymore.
Change-Id: I9dfe2c0da058abac161f66c4e336da2417c383f1
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/android/androiddevice.cpp')
-rw-r--r-- | src/plugins/android/androiddevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/android/androiddevice.cpp b/src/plugins/android/androiddevice.cpp index 2e24eae73a8..ffce38534f8 100644 --- a/src/plugins/android/androiddevice.cpp +++ b/src/plugins/android/androiddevice.cpp @@ -830,9 +830,9 @@ AndroidDeviceManagerInstance::AndroidDeviceManagerInstance(QObject *parent) // otherwise, Android Studio would give an error during parsing also. So this fix // aim to keep support for Qt Creator and Android Studio. - m_avdListRecipe = Group { - storage, + m_avdListRecipe = For { iterator, + storage, ProcessTask(onProcessSetup, onProcessDone) }; } |