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

List:       kde-commits
Subject:    koffice/libs/guiutils
From:       Jan Hambrecht <jaham () gmx ! net>
Date:       2009-05-11 22:41:45
Message-ID: 1242081705.255114.29867.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 966823 by jaham:

fix setting the clip rect



 M  +1 -1      KoShapePainter.cpp  


--- trunk/koffice/libs/guiutils/KoShapePainter.cpp #966822:966823
@@ -160,7 +160,7 @@
     painter.setPen( QPen(Qt::NoPen) );
     painter.setBrush( Qt::NoBrush );
     painter.setRenderHint(QPainter::Antialiasing);
-    painter.setClipRect( painterRect );
+    painter.setClipRect( painterRect.adjusted(-1,-1,1,1) );
 
     // convert document rectangle to view coordinates
     QRectF zoomedBound = zoomHandler.documentToView( documentRect );
[prev in list] [next in list] [prev in thread] [next in thread] 

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