Commit fbeff5ae authored by Pino Toscano's avatar Pino Toscano

do not assume there is always a configuration dialog around (eg, when doing a print preview)

BUG: 167734

svn path=/trunk/KDE/kdegraphics/okular/; revision=839616
parent 4d1a48cd
......@@ -839,7 +839,11 @@ bool PDFGenerator::print( QPrinter& printer )
pstitle = document()->currentDocument().fileName();
}
bool forceRasterize = pdfOptionsPage->printForceRaster();
bool forceRasterize = false;
if ( pdfOptionsPage )
{
forceRasterize = pdfOptionsPage->printForceRaster();
}
Poppler::PSConverter *psConverter = pdfdoc->psConverter();
......
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