forked from qt-creator/qt-creator
Maemo: Remove packaging timeout.
Reviewed-by: kh1
This commit is contained in:
@@ -241,11 +241,7 @@ bool MaemoPackageCreationStep::runCommand(QProcess &proc, const QString &command
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
proc.write("\n"); // For dh_make
|
proc.write("\n"); // For dh_make
|
||||||
if (!proc.waitForFinished(60000) && proc.error() == QProcess::Timedout) {
|
proc.waitForFinished(-1);
|
||||||
raiseError(tr("Packaging failed."),
|
|
||||||
tr("Packaging Error: Command '%1' timed out.").arg(command));
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (proc.error() != QProcess::UnknownError || proc.exitCode() != 0) {
|
if (proc.error() != QProcess::UnknownError || proc.exitCode() != 0) {
|
||||||
QString mainMessage = tr("Packaging Error: Command '%1' failed.")
|
QString mainMessage = tr("Packaging Error: Command '%1' failed.")
|
||||||
.arg(command);
|
.arg(command);
|
||||||
|
Reference in New Issue
Block a user