Revision 536252

Go back to digest for 7th May 2006

Bug Fixes in Development Tools

Josef Weidendorfer committed changes in /branches/KDE/3.5/kdesdk/kcachegrind/kcachegrind/listutils.cpp:

KCachegrind: Draw a percentage bar not larger than 100%

With some profiles, the bar could be drawn that large
that this resulted in

X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62
Minor opcode: 0
Resource id: 0x3001217

errors from X. We get rid of this by drawing a maximum of
100% for the bar. For larger values, we still draw the
number...

File Changes

Modified 1 files
  • /branches/KDE/3.5/kdesdk/kcachegrind/kcachegrind/listutils.cpp
1 files changed in total