From 16b9b38e0267f80b68a78d861d111ca182551d5c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Aug 2023 12:22:36 +0900 Subject: Drop TQT_TQ*_OBJECT defines Signed-off-by: Michele Calgaro --- klaptopdaemon/daemondock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klaptopdaemon/daemondock.cpp b/klaptopdaemon/daemondock.cpp index 87c4f45..90a29aa 100644 --- a/klaptopdaemon/daemondock.cpp +++ b/klaptopdaemon/daemondock.cpp @@ -469,7 +469,7 @@ void laptop_dock::mousePressEvent( TQMouseEvent *event ) } void laptop_dock::mouseReleaseEvent( TQMouseEvent *e ) { - if ( !TQT_TQRECT_OBJECT(rect()).contains( e->pos() ) ) + if ( !rect().contains( e->pos() ) ) return; switch ( e->button() ) { -- cgit v1.2.1