summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:20:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 19:31:55 +0900
commit1adf059cf75fa09467d50bab91c6c97daa555a28 (patch)
tree0b6032fd0cb5a829d95bc636c80ab374cec63787
parent9b03504064870b54af92214941ed5372f847b135 (diff)
downloadtdeedu-1adf059cf75fa09467d50bab91c6c97daa555a28.tar.gz
tdeedu-1adf059cf75fa09467d50bab91c6c97daa555a28.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 59ac6c104baf8e137ff932951e831c9ba4cf4b14)
-rw-r--r--kstars/kstars/skymapdraw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/kstars/skymapdraw.cpp b/kstars/kstars/skymapdraw.cpp
index ff7150f8..d9a2a25d 100644
--- a/kstars/kstars/skymapdraw.cpp
+++ b/kstars/kstars/skymapdraw.cpp
@@ -1578,7 +1578,7 @@ void SkyMap::drawPlanetTrail( TQPainter& psky, KSPlanetBase *ksp, double scale )
if ( ( o.x() >= -1000 && o.x() <= Width+1000 && o.y() >=-1000 && o.y() <= Height+1000 ) ) {
//Want to disable line-drawing if this point and the last are both outside bounds of display.
- if ( ! TQT_TQRECT_OBJECT(rect()).contains( o ) && ! TQT_TQRECT_OBJECT(rect()).contains( cur ) ) doDrawLine = false;
+ if ( ! rect().contains( o ) && ! rect().contains( cur ) ) doDrawLine = false;
cur = o;
if ( doDrawLine ) {