From 1adf059cf75fa09467d50bab91c6c97daa555a28 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Aug 2023 12:20:55 +0900 Subject: Drop TQT_TQ*_OBJECT defines Signed-off-by: Michele Calgaro (cherry picked from commit 59ac6c104baf8e137ff932951e831c9ba4cf4b14) --- kstars/kstars/skymapdraw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- cgit v1.2.1