Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 59ac6c104b)
r14.1.x
Michele Calgaro 1 year ago
parent 9b03504064
commit 1adf059cf7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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 ) ) { 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. //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; cur = o;
if ( doDrawLine ) { if ( doDrawLine ) {

Loading…
Cancel
Save