mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 10:52:53 +00:00
okular: stop using obsolete code paths
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
11c6e675b1
commit
774fad98ba
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ bool Converter::convertImage( const QDomElement &element )
|
|||
if ( href.startsWith( '#' ) )
|
||||
href = href.mid( 1 );
|
||||
|
||||
const QImage img = qVariantValue<QImage>( mTextDocument->resource( QTextDocument::ImageResource, QUrl( href ) ) );
|
||||
const QImage img = qvariant_cast<QImage>( mTextDocument->resource( QTextDocument::ImageResource, QUrl( href ) ) );
|
||||
|
||||
QTextImageFormat format;
|
||||
format.setName( href );
|
||||
|
|
Loading…
Add table
Reference in a new issue