summaryrefslogtreecommitdiffstats
path: root/src/gui/overlaywidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:44:30 +0900
committerMichele Calgaro <[email protected]>2023-08-16 19:20:35 +0900
commit074a3e6db609cc04e0a5830b0c1884447d0e5bbb (patch)
tree536f2f3b637ac5f0f91e76a9e2090480b4dda19f /src/gui/overlaywidget.cpp
parente164b1d02780da8e0d91f5c6617b511f1b24fc6d (diff)
downloadtellico-074a3e6db609cc04e0a5830b0c1884447d0e5bbb.tar.gz
tellico-074a3e6db609cc04e0a5830b0c1884447d0e5bbb.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gui/overlaywidget.cpp')
-rw-r--r--src/gui/overlaywidget.cpp2
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();
}