mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
I said use new API
This commit is contained in:
parent
b4ac0be485
commit
c80b59f1de
|
@ -143,8 +143,8 @@ bool GSGenerator::print( QPrinter& printer )
|
|||
|
||||
bool GSGenerator::loadDocument( const QString & fileName, QVector< Okular::Page * > & pagesVector )
|
||||
{
|
||||
cache_AAtext = documentMetaData(QStringLiteral("TextAntialias"), true).toBool();
|
||||
cache_AAgfx = documentMetaData(QStringLiteral("GraphicsAntialias"), true).toBool();
|
||||
cache_AAtext = documentMetaData(TextAntialiasMetaData, true).toBool();
|
||||
cache_AAgfx = documentMetaData(GraphicsAntialiasMetaData, true).toBool();
|
||||
|
||||
m_internalDocument = spectre_document_new();
|
||||
spectre_document_load(m_internalDocument, QFile::encodeName(fileName).constData());
|
||||
|
|
Loading…
Reference in a new issue