Commit 3aeb12fe authored by Pino Toscano's avatar Pino Toscano

use the right values of width/height for the x/y scale when getting the links of each page

fix the position of the links, mostly

svn path=/trunk/KDE/kdegraphics/okular/; revision=966651
parent 81e3526d
......@@ -347,8 +347,8 @@ void CHMGenerator::additionalRequestData()
if ( genObjectRects )
QLinkedList< Okular::ObjectRect * > objRects;
int xScale=qRound(page->width());
int yScale=qRound(page->height());
int xScale=m_syncGen->view()->width();
int yScale=m_syncGen->view()->height();
// getting links
DOM::HTMLCollection coll=domDoc.links();
DOM::Node n;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment