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/KDChartRingPainter.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'kchart/kdchart/KDChartRingPainter.cpp') diff --git a/kchart/kdchart/KDChartRingPainter.cpp b/kchart/kdchart/KDChartRingPainter.cpp index 43d7f1ab..d2fb3b1b 100644 --- a/kchart/kdchart/KDChartRingPainter.cpp +++ b/kchart/kdchart/KDChartRingPainter.cpp @@ -85,13 +85,7 @@ void KDChartRingPainter::paintData( TQPainter* painter, TQRect ourClipRect( _dataRect ); const TQWMatrix & world = painter->worldMatrix(); - ourClipRect = -#if COMPAT_TQT_VERSION >= 0x030000 - world.mapRect( ourClipRect ); -#else - world.map( ourClipRect ); -#endif - + ourClipRect = world.mapRect( ourClipRect ); ourClipRect.setTop(ourClipRect.top()-1); ourClipRect.setLeft(ourClipRect.left()-1); ourClipRect.setBottom(ourClipRect.bottom()+1); -- cgit v1.2.1