TaskTree: Get rid of registration macros

Alias task types manually.
Don't require the alias to be inside the Tasking namespace.
Addresses the 22th point of the jira ticket below.

Task-number: QTCREATORBUG-28741
Change-Id: I1bdda7fe5a01e4bcb5052ec328f4e0eace878651
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-08-17 11:08:21 +02:00
parent 36e0ea27b9
commit 98026b29c6
28 changed files with 56 additions and 100 deletions

View File

@@ -236,8 +236,6 @@ GitDiffEditorController::GitDiffEditorController(IDocument *document,
const QStringList &extraArgs)
: GitBaseDiffEditorController(document)
{
using namespace Tasking;
const TreeStorage<QString> diffInputStorage;
const auto setupDiff = [=](Process &process) {
@@ -296,8 +294,6 @@ FileListDiffController::FileListDiffController(IDocument *document, const QStrin
const QStringList &unstagedFiles)
: GitBaseDiffEditorController(document)
{
using namespace Tasking;
struct DiffStorage {
QString m_stagedOutput;
QString m_unstagedOutput;
@@ -363,7 +359,6 @@ ShowController::ShowController(IDocument *document, const QString &id)
{
setDisplayName("Git Show");
static const QString busyMessage = Tr::tr("<resolving>");
using namespace Tasking;
struct ReloadStorage {
bool m_postProcessDescription = false;