From 08040e4e94acba0c781b058ac5408955a4bc95fb Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 14 May 2021 15:21:54 +0200 Subject: Utils: Move QProcess base to QtcProcessPrivate Change-Id: I4c6811d42e051fadfcf32edb664ff3bc09e692e6 Reviewed-by: David Schulz --- src/plugins/python/pythonutils.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/plugins/python/pythonutils.cpp') 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::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); -- cgit v1.2.1