mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-13 13:11:41 +00:00
supports url's as destination of toc items
(although i have no djvu documents with such stuff, so i could not test it properly) svn path=/trunk/KDE/kdegraphics/okular/; revision=890903
This commit is contained in:
parent
090d1ec8a1
commit
674380340e
|
@ -47,6 +47,10 @@ static void recurseCreateTOC( QDomDocument &maindoc, const QDomNode &parent, QDo
|
|||
vp.pageNumber = dest.toInt() - 1;
|
||||
newel.setAttribute( "Viewport", vp.toString() );
|
||||
}
|
||||
else if ( !( dest = el.attribute( "URL" ) ).isEmpty() )
|
||||
{
|
||||
newel.setAttribute( "URL", dest );
|
||||
}
|
||||
|
||||
if ( el.hasChildNodes() )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue