From e0b799d647cf144caa7a58615e02132d9fd54809 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:47:14 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro --- kpdf/part.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kpdf') diff --git a/kpdf/part.cpp b/kpdf/part.cpp index 65714b05..736db94a 100644 --- a/kpdf/part.cpp +++ b/kpdf/part.cpp @@ -571,7 +571,7 @@ bool Part::closeURL() bool Part::eventFilter( TQObject * watched, TQEvent * e ) { // if pageView has been resized, save splitter sizes - if ( TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(m_pageView) && e->type() == TQEvent::Resize ) + if ( watched == m_pageView && e->type() == TQEvent::Resize ) m_saveSplitterSizeTimer->start(500, true); // only intercept events, don't block them -- cgit v1.2.1