[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Jun 17 22:28:38 CEST 2004


On June 17, 2004 15:58, Andrew Walker wrote:
> CVS commit by arwalker:
>
> Removed unnecessary define's
>
> --- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.92:1.93
> @@ -1314,4 +1315,5 @@ void Kst2DPlot::paint(QPainter& p, doubl
>  // Optimize - isnan seems expensive, at least in gcc debug mode
>  //            cachegrind backs this up.
> +#undef isnan
>  #define isnan(x) (x != x)

  This is required because it might be defined on some platform or by 
autoconf.

> -#define LABEL_TRANSPARENT
>        QRegion oldExtents = label->extents;
>        QPixmap pm(GetWinRegion().width(), GetWinRegion().height());
>        QRect rectBounding = oldExtents.boundingRect();
> -
> -#ifdef LABEL_TRANSPARENT
>        QBitmap bm(GetWinRegion().width(), GetWinRegion().height(), true);
> +

[...]

I put those there on purpose because I use that for testing performance.  I 
still need them there.

-- 
George Staikos
KDE Developer			http://www.kde.org/
Staikos Computing Services Inc.	http://www.staikos.net/



More information about the Kst mailing list