Maemo: Remove packaging timeout.

Reviewed-by: kh1
(cherry picked from commit cfdb5d7446)
This commit is contained in:
ck
2010-06-17 12:23:26 +02:00
committed by con
parent 66f04ed52a
commit d20bf7b510

View File

@@ -233,11 +233,7 @@ bool MaemoPackageCreationStep::runCommand(QProcess &proc, const QString &command
return false;
}
proc.write("\n"); // For dh_make
if (!proc.waitForFinished(60000) && proc.error() == QProcess::Timedout) {
raiseError(tr("Packaging failed."),
tr("Packaging Error: Command '%1' timed out.").arg(command));
return false;
}
proc.waitForFinished(-1);
if (proc.error() != QProcess::UnknownError || proc.exitCode() != 0) {
QString mainMessage = tr("Packaging Error: Command '%1' failed.")
.arg(command);