From 71a79281941db34e2389c39094e8949410c280d1 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 23 Mar 2022 09:00:03 +0100 Subject: [PATCH] Python: Fix typo Change-Id: Ide2d1d893ffcb0ebb6cb3aa787cf1f07960fcfc0 Reviewed-by: David Schulz --- src/plugins/python/pipsupport.cpp | 4 ++-- src/plugins/python/pipsupport.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/python/pipsupport.cpp b/src/plugins/python/pipsupport.cpp index d42598c18be..6968fef1f97 100644 --- a/src/plugins/python/pipsupport.cpp +++ b/src/plugins/python/pipsupport.cpp @@ -67,7 +67,7 @@ void PipInstallTask::run() const QString taskTitle = tr("Install %1").arg(m_package.displayName); Core::ProgressManager::addTask(m_future.future(), taskTitle, pipInstallTaskId); connect(&m_process, &QtcProcess::finished, this, &PipInstallTask::installFinished); - connect(&m_process, &QtcProcess::readyReadStandardError, this, &PipInstallTask::hanleError); + connect(&m_process, &QtcProcess::readyReadStandardError, this, &PipInstallTask::handleError); connect(&m_process, &QtcProcess::readyReadStandardOutput, this, &PipInstallTask::handleOutput); connect(&m_killTimer, &QTimer::timeout, this, &PipInstallTask::cancel); @@ -120,7 +120,7 @@ void PipInstallTask::handleOutput() Core::MessageManager::writeSilently(stdOut); } -void PipInstallTask::hanleError() +void PipInstallTask::handleError() { const QString &stdErr = QString::fromLocal8Bit(m_process.readAllStandardError().trimmed()); if (!stdErr.isEmpty()) diff --git a/src/plugins/python/pipsupport.h b/src/plugins/python/pipsupport.h index 0c56cfbecde..05b809a92d7 100644 --- a/src/plugins/python/pipsupport.h +++ b/src/plugins/python/pipsupport.h @@ -64,7 +64,7 @@ private: void cancel(); void installFinished(); void handleOutput(); - void hanleError(); + void handleError(); const Utils::FilePath m_python; PipPackage m_package;