summaryrefslogtreecommitdiffstats
path: root/src/gui/overlaywidget.cpp
diff options
context:
space:
mode:
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();
}