[Kst] extragear/graphics/kst/src/libkstapp
George Staikos
staikos at kde.org
Wed Mar 1 22:51:35 CET 2006
SVN commit 514909 by staikos:
use kMax instead of QMAX
M +2 -2 labelrenderer.cpp
--- trunk/extragear/graphics/kst/src/libkstapp/labelrenderer.cpp #514908:514909
@@ -170,9 +170,9 @@
if (!rc.p) {
// No need to compute ascent and descent when really painting
- rc.ascent = QMAX(rc.ascent, -rc.y + rc.fontAscent());
+ rc.ascent = kMax(rc.ascent, -rc.y + rc.fontAscent());
if (-rc.y - rc.fontDescent() < 0) {
- rc.descent = QMAX(rc.descent, rc.fontDescent() + rc.y);
+ rc.descent = kMax(rc.descent, rc.fontDescent() + rc.y);
}
}
More information about the Kst
mailing list