From c45ec5d9bde729f8a40f2e59c886c629d2e43a93 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 5 Jun 2023 13:45:55 +0900 Subject: Drop use of COMPAT_TQT_VERSION define Signed-off-by: Michele Calgaro --- libkdchart/KDChartPolarPainter.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libkdchart/KDChartPolarPainter.cpp') 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 ); -- cgit v1.2.1