summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDChartPiePainter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kdchart/KDChartPiePainter.cpp')
-rw-r--r--kchart/kdchart/KDChartPiePainter.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/kchart/kdchart/KDChartPiePainter.cpp b/kchart/kdchart/KDChartPiePainter.cpp
index 9a1b3fb4..77cff44c 100644
--- a/kchart/kdchart/KDChartPiePainter.cpp
+++ b/kchart/kdchart/KDChartPiePainter.cpp
@@ -90,13 +90,7 @@ void KDChartPiePainter::paintData( TQPainter* painter,
ourClipRect.addCoords( -1,-1,1,1 );
const TQWMatrix & world = painter->worldMatrix();
- ourClipRect =
-#if COMPAT_TQT_VERSION >= 0x030000
- world.mapRect( ourClipRect );
-#else
- world.map( ourClipRect );
-#endif
-
+ ourClipRect = world.mapRect( ourClipRect );
painter->setClipRect( ourClipRect );
// find which dataset to paint