[Kst] [Bug 115966] Error bar tails are too wide

Matthew Truch matt at truch.net
Wed Nov 9 03:17:37 CET 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=115966         
matt truch net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From matt truch net  2005-11-09 03:17 -------
SVN commit 479063 by truch:

width + height / 400 != (width + height) / 400

BUG: 115966


 M  +1 -1      kstpoint.cpp  


--- trunk/extragear/graphics/kst/kst/kstpoint.cpp #479062:479063
 @ -152,7 +152,7  @
 
 int KstPoint::dim(QPainter *p) const {
   QRect r = p->window();
-  return kMax(1, (r.width() + r.height() / 400));
+  return kMax(1, ((r.width() + r.height()) / 400));
 }
 
 // vim: ts=2 sw=2 et


More information about the Kst mailing list