Commit 9748b1e6 authored by Pino Toscano's avatar Pino Toscano

update all the configuration (not just the AA settings) each time a document is open

svn path=/trunk/KDE/kdegraphics/okular/; revision=841347
parent 61964b93
......@@ -265,8 +265,6 @@ PDFGenerator::PDFGenerator( QObject *parent, const QVariantList &args )
setFeature( FontInfo );
setFeature( PrintPostscript );
setFeature( ReadRawData );
// update the configuration
reparseConfig();
// generate the pixmapGeneratorThread
generatorThread = new PDFPixmapGeneratorThread( this );
connect(generatorThread, SIGNAL(finished()), this, SLOT(threadFinished()), Qt::QueuedConnection);
......@@ -396,7 +394,8 @@ bool PDFGenerator::init(QVector<Okular::Page*> & pagesVector, const QString &wal
loadPages(pagesVector, 0, false);
setAAOptions();
// update the configuration
reparseConfig();
// the file has been loaded correctly
return 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