diff options
| author | Jarek Kobus <[email protected]> | 2025-10-30 15:15:02 +0100 |
|---|---|---|
| committer | Jarek Kobus <[email protected]> | 2025-10-31 12:52:08 +0000 |
| commit | 35a84b81c6f956281994b77a6b9e0b7286035db5 (patch) | |
| tree | 0c43877b7a3986a9821ea2521f99e469e7204989 /src/plugins/git/gitclient.cpp | |
| parent | 2f27675104e8df5cd41be5d7b6cdcc2dd491953d (diff) | |
TaskTree: Switch to qt-ified QtTaskTree
Remove the old Tasking lib.
Change-Id: Iacb4939cc873e25d6039efae7dd23510a7baa5f9
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.cpp')
| -rw-r--r-- | src/plugins/git/gitclient.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 6e011c50945..c8db4859046 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -23,7 +23,7 @@ #include <diffeditor/diffeditorconstants.h> -#include <solutions/tasking/conditional.h> +#include <QtTaskTree/qconditional.h> #include <texteditor/fontsettings.h> #include <texteditor/texteditorsettings.h> @@ -79,7 +79,7 @@ const char allBranchesOption[] = "--all"; using namespace Core; using namespace DiffEditor; -using namespace Tasking; +using namespace QtTaskTree; using namespace Utils; using namespace VcsBase; @@ -512,7 +512,7 @@ ShowController::ShowController(IDocument *document, const QString &id) updateDescription(*data); }; - const auto onFollowsSetup = [this, storage, updateDescription](TaskTree &taskTree) { + const auto onFollowsSetup = [this, storage, updateDescription](QTaskTree &taskTree) { ReloadStorage *data = storage.activeStorage(); QStringList parents; QString errorMessage; @@ -522,7 +522,7 @@ ShowController::ShowController(IDocument *document, const QString &id) data->m_follows = {busyMessage}; data->m_follows.resize(parents.size()); - const LoopList iterator(parents); + const ListIterator iterator(parents); const auto onFollowSetup = [this, iterator](Process &process) { setupCommand(process, {"describe", "--tags", "--abbrev=0", *iterator}); }; @@ -570,7 +570,7 @@ ShowController::ShowController(IDocument *document, const QString &id) onGroupSetup(desciptionDetailsSetup), ProcessTask(onBranchesSetup, onBranchesDone), ProcessTask(onPrecedesSetup, onPrecedesDone), - TaskTreeTask(onFollowsSetup) + QTaskTreeTask(onFollowsSetup) } }, Group { |
