summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartPolarPainter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-06-05 13:45:55 +0900
committerMichele Calgaro <[email protected]>2023-06-05 13:45:55 +0900
commitc45ec5d9bde729f8a40f2e59c886c629d2e43a93 (patch)
treed65c76a0596fc0cd45b43dcf5a402fd1977fa2bc /libkdchart/KDChartPolarPainter.cpp
parenta3a44b5daea0e8674401be3b8b9f15bccd64520d (diff)
downloadkmymoney-c45ec5d9bde729f8a40f2e59c886c629d2e43a93.tar.gz
kmymoney-c45ec5d9bde729f8a40f2e59c886c629d2e43a93.zip
Drop use of COMPAT_TQT_VERSION define
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'libkdchart/KDChartPolarPainter.cpp')
-rw-r--r--libkdchart/KDChartPolarPainter.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/libkdchart/KDChartPolarPainter.cpp b/libkdchart/KDChartPolarPainter.cpp
index 15ff5f0..58ea9b6 100644
--- a/libkdchart/KDChartPolarPainter.cpp
+++ b/libkdchart/KDChartPolarPainter.cpp
@@ -95,13 +95,7 @@ void KDChartPolarPainter::paintData( TQPainter* painter,
//
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 );