Fix total number of pages with ranges

Relevant for progress reporting and URF file headers
This commit is contained in:
Anton Thomasson 2021-02-17 22:15:04 +01:00
parent 2297853024
commit 86501b45d9

View file

@ -61,6 +61,9 @@ void ConvertWorker::convertPdf(QNetworkRequest request, QString filename, QTempo
PageRangeHigh=pages;
}
// Actual number of pages to print
pages = PageRangeHigh-PageRangeLow;
bool urf = false;
bool ps = false;
bool pdf = false;