Commit dba40494 authored by Albert Astals Cid's avatar Albert Astals Cid

Adapt to poppler cvs changes, you need to use poppler-qt4 cvs to build okular

CCMAIL: xiaodongchu@gmail.com

svn path=/trunk/playground/graphics/okular/; revision=554893
parent 840a526b
......@@ -680,7 +680,7 @@ bool PDFGenerator::print( KPrinter& printer )
docLock.lock();
// TODO rotation
if (pdfdoc->print(tf.name(), pageList, 72, 72, 0))
if (pdfdoc->print(tf.name(), pageList, 72, 72, 0, width, height))
{
docLock.unlock();
printer.printFiles(QStringList(tf.name()), true);
......
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