diff options
author | Michele Calgaro <[email protected]> | 2023-06-05 13:45:55 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-06-05 20:55:05 +0900 |
commit | 43cb2df63d88369e209ece2a7030552d52861cd1 (patch) | |
tree | d65c76a0596fc0cd45b43dcf5a402fd1977fa2bc /libkdchart/KDChartRingPainter.cpp | |
parent | 1a2f76163a8ce08c850f1f632d0a295be57d6807 (diff) | |
download | kmymoney-43cb2df63d88369e209ece2a7030552d52861cd1.tar.gz kmymoney-43cb2df63d88369e209ece2a7030552d52861cd1.zip |
Drop use of COMPAT_TQT_VERSION define
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c45ec5d9bde729f8a40f2e59c886c629d2e43a93)
Diffstat (limited to 'libkdchart/KDChartRingPainter.cpp')
-rw-r--r-- | libkdchart/KDChartRingPainter.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libkdchart/KDChartRingPainter.cpp b/libkdchart/KDChartRingPainter.cpp index ec58881..79ac95f 100644 --- a/libkdchart/KDChartRingPainter.cpp +++ b/libkdchart/KDChartRingPainter.cpp @@ -90,13 +90,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); |