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

svn path=/trunk/KDE/kdegraphics/okular/; revision=841347
remotes/origin/old/work/tiff-improvements
Pino Toscano 18 years ago
parent 61964b930f
commit 9748b1e6a7
  1. 5
      generators/poppler/generator_pdf.cpp

@ -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;

Loading…
Cancel
Save