Remove timeouts
This commit is contained in:
parent
7d8ca4ac4d
commit
657cd37269
1 changed files with 3 additions and 3 deletions
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue