From 074a3e6db609cc04e0a5830b0c1884447d0e5bbb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:44:30 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro --- src/gui/overlaywidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/overlaywidget.cpp') diff --git a/src/gui/overlaywidget.cpp b/src/gui/overlaywidget.cpp index 3977ce1..640f810 100644 --- a/src/gui/overlaywidget.cpp +++ b/src/gui/overlaywidget.cpp @@ -81,7 +81,7 @@ void OverlayWidget::reposition() { } bool OverlayWidget::eventFilter(TQObject* object_, TQEvent* event_) { - if(TQT_BASE_OBJECT(object_) == TQT_BASE_OBJECT(m_anchor) && (event_->type() == TQEvent::Move || event_->type() == TQEvent::Resize)) { + if(object_ == m_anchor && (event_->type() == TQEvent::Move || event_->type() == TQEvent::Resize)) { reposition(); } -- cgit v1.2.1