Commit a7a17d48 authored by Pino Toscano's avatar Pino Toscano

Be sure to close the temporary PS file before sending it to lpr, so it is all flushed.

BUG: 160860

svn path=/trunk/KDE/kdegraphics/okular/; revision=849949
parent 0e74c509
......@@ -887,6 +887,9 @@ bool PDFGenerator::print( QPrinter& printer )
{
userMutex()->unlock();
delete psConverter;
#ifdef HAVE_POPPLER_0_7
tf.close();
#endif
int ret = Okular::FilePrinter::printFile( printer, tempfilename,
Okular::FilePrinter::SystemDeletesFiles,
Okular::FilePrinter::ApplicationSelectsPages,
......
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