Remove timeouts

This commit is contained in:
Anton Thomasson 2020-11-30 20:28:33 +01:00
parent 7d8ca4ac4d
commit 657cd37269

View file

@ -155,7 +155,7 @@ void ConvertWorker::convertPdf(QNetworkRequest request, QString filename, QTempo
qDebug() << "Started"; qDebug() << "Started";
if(!pdftops->waitForFinished(10000+5000*pages)) if(!pdftops->waitForFinished(-1))
{ {
qDebug() << "pdftops failed"; qDebug() << "pdftops failed";
tempfile->deleteLater(); tempfile->deleteLater();
@ -195,7 +195,7 @@ void ConvertWorker::convertPdf(QNetworkRequest request, QString filename, QTempo
qDebug() << "Started"; qDebug() << "Started";
if(!pdftocairo->waitForFinished(10000+5000*pages)) if(!pdftocairo->waitForFinished(-1))
{ {
qDebug() << "pdftocairo failed"; qDebug() << "pdftocairo failed";
tempfile->deleteLater(); tempfile->deleteLater();
@ -279,7 +279,7 @@ void ConvertWorker::convertPdf(QNetworkRequest request, QString filename, QTempo
bool ppm2pwgSuccess = false; bool ppm2pwgSuccess = false;
for(size_t i = 0; i < (10*pages+10); i++) for(;;)
{ {
if(ppm2pwg->waitForFinished(1000)) if(ppm2pwg->waitForFinished(1000))
{ {