Remove PluginManager::futureSynchronizer()

Use the global synchronizer from Utils::futureSynchronizer() directly

Change-Id: Ic8843bc1ff7951c041529a258f36117f08ec4b35
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Eike Ziller
2024-05-21 10:07:28 +02:00
parent 881b66cec4
commit eb45240649
15 changed files with 16 additions and 49 deletions

View File

@@ -9,8 +9,6 @@
#include <coreplugin/dialogs/ioptionspage.h>
#include <coreplugin/icore.h>
#include <extensionsystem/pluginmanager.h>
#include <projectexplorer/devicesupport/devicemanager.h>
#include <projectexplorer/kitoptionspage.h>
#include <projectexplorer/projectexplorerconstants.h>
@@ -488,7 +486,7 @@ void DebuggerItemConfigWidget::binaryPathHasChanged()
tmp.reinitializeFromFile();
return tmp;
}));
ExtensionSystem::PluginManager::futureSynchronizer()->addFuture(m_updateWatcher.future());
Utils::futureSynchronizer()->addFuture(m_updateWatcher.future());
} else {
const DebuggerItem tmp;
setAbis(tmp.abiNames());