From 9b8380e617ad740085310208e3be24b42614f661 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 (cherry picked from commit 16b9b38e0267f80b68a78d861d111ca182551d5c) --- klaptopdaemon/daemondock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klaptopdaemon/daemondock.cpp') 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