diff --git a/src/plugins/python/pipsupport.cpp b/src/plugins/python/pipsupport.cpp index c23ae2d8649..96aa4f64e2f 100644 --- a/src/plugins/python/pipsupport.cpp +++ b/src/plugins/python/pipsupport.cpp @@ -14,9 +14,9 @@ #include #include +#include #include #include -#include using namespace Utils; @@ -145,7 +145,7 @@ Pip *Pip::instance(const FilePath &python) QFuture Pip::info(const PipPackage &package) { - return Utils::runAsync(&Pip::infoImpl, this, package); + return Utils::asyncRun(&Pip::infoImpl, this, package); } PipPackageInfo Pip::infoImpl(const PipPackage &package) diff --git a/src/plugins/python/pyside.cpp b/src/plugins/python/pyside.cpp index 592addd3085..f16e81af939 100644 --- a/src/plugins/python/pyside.cpp +++ b/src/plugins/python/pyside.cpp @@ -17,10 +17,10 @@ #include #include +#include #include #include #include -#include #include #include @@ -140,8 +140,7 @@ void PySideInstaller::runPySideChecker(const FilePath &python, handlePySideMissing(python, pySide, document); watcher->deleteLater(); }); - watcher->setFuture( - Utils::runAsync(&missingPySideInstallation, python, pySide)); + watcher->setFuture(Utils::asyncRun(&missingPySideInstallation, python, pySide)); } } // Python::Internal diff --git a/src/plugins/python/pythonlanguageclient.cpp b/src/plugins/python/pythonlanguageclient.cpp index 74edb153e12..088cd516440 100644 --- a/src/plugins/python/pythonlanguageclient.cpp +++ b/src/plugins/python/pythonlanguageclient.cpp @@ -29,9 +29,9 @@ #include #include +#include #include #include -#include #include #include @@ -341,7 +341,7 @@ void PyLSConfigureAssistant::openDocumentWithPython(const FilePath &python, instance()->handlePyLSState(python, watcher->result(), document); watcher->deleteLater(); }); - watcher->setFuture(Utils::runAsync(&checkPythonLanguageServer, python)); + watcher->setFuture(Utils::asyncRun(&checkPythonLanguageServer, python)); } void PyLSConfigureAssistant::handlePyLSState(const FilePath &python,