Commit 2f61233a authored by Pino Toscano's avatar Pino Toscano

export the actual page numbers, instead of the page count

BUG: 191223

svn path=/trunk/KDE/kdegraphics/okular/; revision=961994
parent 26e33dfc
......@@ -130,7 +130,7 @@ bool GSGenerator::print( QPrinter& printer )
int i = 0;
while ( i < pageList.count() && exportStatus == SPECTRE_STATUS_SUCCESS )
{
exportStatus = spectre_exporter_do_page( exporter, i );
exportStatus = spectre_exporter_do_page( exporter, pageList.at( i ) - 1 );
i++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment