[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegraphics/okular/generators/chm
From:       Pino Toscano <pino () kde ! org>
Date:       2009-05-11 17:18:47
Message-ID: 1242062327.067505.23393.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 966651 by pino:

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


 M  +2 -2      generator_chm.cpp  


--- trunk/KDE/kdegraphics/okular/generators/chm/generator_chm.cpp #966650:966651
@@ -347,8 +347,8 @@
         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;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic