forked from qt-creator/qt-creator
Python: Fix typo
Change-Id: Ide2d1d893ffcb0ebb6cb3aa787cf1f07960fcfc0 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
committed by
David Schulz
parent
7c3d6c1fc1
commit
71a7928194
@@ -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())
|
||||
|
@@ -64,7 +64,7 @@ private:
|
||||
void cancel();
|
||||
void installFinished();
|
||||
void handleOutput();
|
||||
void hanleError();
|
||||
void handleError();
|
||||
|
||||
const Utils::FilePath m_python;
|
||||
PipPackage m_package;
|
||||
|
Reference in New Issue
Block a user