Python: Fix typo

Change-Id: Ide2d1d893ffcb0ebb6cb3aa787cf1f07960fcfc0
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2022-03-23 09:00:03 +01:00
committed by David Schulz
parent 7c3d6c1fc1
commit 71a7928194
2 changed files with 3 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ void PipInstallTask::run()
const QString taskTitle = tr("Install %1").arg(m_package.displayName); const QString taskTitle = tr("Install %1").arg(m_package.displayName);
Core::ProgressManager::addTask(m_future.future(), taskTitle, pipInstallTaskId); Core::ProgressManager::addTask(m_future.future(), taskTitle, pipInstallTaskId);
connect(&m_process, &QtcProcess::finished, this, &PipInstallTask::installFinished); 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_process, &QtcProcess::readyReadStandardOutput, this, &PipInstallTask::handleOutput);
connect(&m_killTimer, &QTimer::timeout, this, &PipInstallTask::cancel); connect(&m_killTimer, &QTimer::timeout, this, &PipInstallTask::cancel);
@@ -120,7 +120,7 @@ void PipInstallTask::handleOutput()
Core::MessageManager::writeSilently(stdOut); Core::MessageManager::writeSilently(stdOut);
} }
void PipInstallTask::hanleError() void PipInstallTask::handleError()
{ {
const QString &stdErr = QString::fromLocal8Bit(m_process.readAllStandardError().trimmed()); const QString &stdErr = QString::fromLocal8Bit(m_process.readAllStandardError().trimmed());
if (!stdErr.isEmpty()) if (!stdErr.isEmpty())

View File

@@ -64,7 +64,7 @@ private:
void cancel(); void cancel();
void installFinished(); void installFinished();
void handleOutput(); void handleOutput();
void hanleError(); void handleError();
const Utils::FilePath m_python; const Utils::FilePath m_python;
PipPackage m_package; PipPackage m_package;