diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-05 13:21:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-05 20:54:02 +0900 |
commit | 75cc9de8f47db776021b5e8153c930d9af2108b6 (patch) | |
tree | 05bbc91010d5cb7d9b7083f101ba885e32a46245 /kchart/kdchart/KDChartPolarPainter.cpp | |
parent | f25aee7b805a903144ad05ef3e9bb70e6dbdb875 (diff) | |
download | koffice-75cc9de8f47db776021b5e8153c930d9af2108b6.tar.gz koffice-75cc9de8f47db776021b5e8153c930d9af2108b6.zip |
Drop use of COMPAT_TQT_VERSION define
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fded56123903e0a8d9e076b1a6a9a52374c3649d)
Diffstat (limited to 'kchart/kdchart/KDChartPolarPainter.cpp')
-rw-r--r-- | kchart/kdchart/KDChartPolarPainter.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/kchart/kdchart/KDChartPolarPainter.cpp b/kchart/kdchart/KDChartPolarPainter.cpp index 55249abf..5bcd621f 100644 --- a/kchart/kdchart/KDChartPolarPainter.cpp +++ b/kchart/kdchart/KDChartPolarPainter.cpp @@ -90,13 +90,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 ); |