mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-12 10:53:09 +00:00
Return the current configuration for gfx and text antialias.
For now they are always true, as no GUI can be added due to feature+string freeze. svn path=/trunk/KDE/kdegraphics/okular/; revision=749280
This commit is contained in:
parent
2bfe44c45c
commit
a8758221fe
|
@ -1015,6 +1015,17 @@ QVariant DocumentPrivate::documentMetaData( const QString &key, const QVariant &
|
|||
{
|
||||
return Settings::zoomFactor();
|
||||
}
|
||||
else if ( key == QLatin1String( "TextAntialias" ) )
|
||||
{
|
||||
// TODO: add a configuration
|
||||
// TODO: eventually read the KDE configuration
|
||||
return true;
|
||||
}
|
||||
else if ( key == QLatin1String( "GraphicsAntialias" ) )
|
||||
{
|
||||
// TODO: add a configuration
|
||||
return true;
|
||||
}
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue