Commit 18270ca4 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Add safety check.

Apparently, the sender can still be null even though it's deleted
via deleteLater().
parent b74eb892
......@@ -297,7 +297,8 @@ bool MaemoPackageCreationStep::runCommand(QProcess *buildProc,
void MaemoPackageCreationStep::handleBuildOutput()
QProcess * const buildProc = qobject_cast<QProcess *>(sender());
if (!buildProc)
const QByteArray &stdOut = buildProc->readAllStandardOutput();
if (!stdOut.isEmpty())
emit addOutput(QString::fromLocal8Bit(stdOut), BuildStep::NormalOutput);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment