Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit ef8a4b9a authored by Pino Toscano's avatar Pino Toscano

be sure to close the file before sending it for printing

svn path=/trunk/KDE/kdegraphics/okular/; revision=875559
parent a8ea861f
......@@ -206,15 +206,15 @@ bool DjVuGenerator::print( QPrinter& printer )
if ( m_djvu->exportAsPostScript( &tf, pageList ) )
tf.setAutoRemove( false );
int ret = Okular::FilePrinter::printFile( printer, tf.fileName(),
const QString fileName = tf.fileName();
int ret = Okular::FilePrinter::printFile( printer, fileName,
document()->bookmarkedPageRange() );
result = ( ret >=0 );
return result;
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