diff options
author | hjk <hjk@qt.io> | 2021-05-14 15:21:54 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2021-06-02 13:21:08 +0000 |
commit | 08040e4e94acba0c781b058ac5408955a4bc95fb (patch) | |
tree | d4ea954f7a175ff784b7b7e78f1a6f490e522d14 /src/plugins/python/pythonutils.cpp | |
parent | 0f535703aa9f68e7654547ca93c118196ad2a0bd (diff) | |
download | qt-creator-08040e4e94acba0c781b058ac5408955a4bc95fb.tar.gz |
Utils: Move QProcess base to QtcProcessPrivate
Change-Id: I4c6811d42e051fadfcf32edb664ff3bc09e692e6
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/python/pythonutils.cpp')
-rw-r--r-- | src/plugins/python/pythonutils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/python/pythonutils.cpp b/src/plugins/python/pythonutils.cpp index d693c2597b..a8a8467f30 100644 --- a/src/plugins/python/pythonutils.cpp +++ b/src/plugins/python/pythonutils.cpp @@ -251,15 +251,15 @@ public: { Core::ProgressManager::addTask(m_future.future(), "Install PyLS", installPylsTaskId); connect(&m_process, - QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), + &QtcProcess::finished, this, &PythonLSInstallHelper::installFinished); connect(&m_process, - &QProcess::readyReadStandardError, + &QtcProcess::readyReadStandardError, this, &PythonLSInstallHelper::errorAvailable); connect(&m_process, - &QProcess::readyReadStandardOutput, + &QtcProcess::readyReadStandardOutput, this, &PythonLSInstallHelper::outputAvailable); @@ -276,8 +276,8 @@ public: m_process.start(); Core::MessageManager::writeDisrupting( - tr("Running \"%1 %2\" to install Python language server") - .arg(m_process.program(), m_process.arguments().join(' '))); + tr("Running \"%1\" to install Python language server") + .arg(m_process.commandLine().toUserOutput())); m_killTimer.setSingleShot(true); m_killTimer.start(5 /*minutes*/ * 60 * 1000); |