From a7ea84c97639f635d798348432f355e3ac496a1d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:44:08 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro --- kword/KWCanvas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kword/KWCanvas.cpp') diff --git a/kword/KWCanvas.cpp b/kword/KWCanvas.cpp index 11e23e27..044801ae 100644 --- a/kword/KWCanvas.cpp +++ b/kword/KWCanvas.cpp @@ -1699,9 +1699,9 @@ void KWCanvas::updateRulerOffsets( int cx, int cy ) bool KWCanvas::eventFilter( TQObject *o, TQEvent *e ) { - if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(viewport()) ) { + if ( o == this || o == viewport() ) { - if(m_currentFrameSetEdit && TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) ) + if(m_currentFrameSetEdit && o == this ) { // Pass event to auto-hide-cursor code (see kcursor.h for details) KCursor::autoHideEventFilter( o, e ); -- cgit v1.2.1