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:
Pino Toscano 2008-11-30 16:26:54 +00:00
parent 090d1ec8a1
commit 674380340e

View file

@ -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() )
{