diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:44:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-16 22:22:09 +0900 |
commit | 31fba8412589656cf1c330ad617732a346309344 (patch) | |
tree | 536f2f3b637ac5f0f91e76a9e2090480b4dda19f /src/gui/overlaywidget.cpp | |
parent | 37c2ad0c29c602b42d03c446bdd00dcb50f2729c (diff) | |
download | tellico-31fba841.tar.gz tellico-31fba841.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 074a3e6db609cc04e0a5830b0c1884447d0e5bbb)
Diffstat (limited to 'src/gui/overlaywidget.cpp')
-rw-r--r-- | src/gui/overlaywidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |