From 75cc9de8f47db776021b5e8153c930d9af2108b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 5 Jun 2023 13:21:40 +0900 Subject: Drop use of COMPAT_TQT_VERSION define Signed-off-by: Michele Calgaro (cherry picked from commit fded56123903e0a8d9e076b1a6a9a52374c3649d) --- kchart/kdchart/KDChartPiePainter.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'kchart/kdchart/KDChartPiePainter.cpp') 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 -- cgit v1.2.1