summaryrefslogtreecommitdiffstats
path: root/libtdepim/overlaywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/overlaywidget.cpp')
-rw-r--r--libtdepim/overlaywidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtdepim/overlaywidget.cpp b/libtdepim/overlaywidget.cpp
index 7c72883c4..067e2d71a 100644
--- a/libtdepim/overlaywidget.cpp
+++ b/libtdepim/overlaywidget.cpp
@@ -76,7 +76,7 @@ void OverlayWidget::setAlignWidget( TQWidget * w )
bool OverlayWidget::eventFilter( TQObject* o, TQEvent* e)
{
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(mAlignWidget) &&
+ if ( o == mAlignWidget &&
( e->type() == TQEvent::Move || e->type() == TQEvent::Resize ) ) {
reposition();
}