summaryrefslogtreecommitdiffstats
path: root/libtdepim/overlaywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/overlaywidget.cpp')
-rw-r--r--libtdepim/overlaywidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtdepim/overlaywidget.cpp b/libtdepim/overlaywidget.cpp
index ac05d84fd..338a6c428 100644
--- a/libtdepim/overlaywidget.cpp
+++ b/libtdepim/overlaywidget.cpp
@@ -51,9 +51,9 @@ void OverlayWidget::reposition()
p.setX( mAlignWidget->width() - width() );
p.setY( -height() );
// Position in the toplevelwidget's coordinates
- TQPoint pTopLevel = mAlignWidget->mapTo( tqtopLevelWidget(), p );
+ TQPoint pTopLevel = mAlignWidget->mapTo( topLevelWidget(), p );
// Position in the widget's parentWidget coordinates
- TQPoint pParent = parentWidget()->mapFrom( tqtopLevelWidget(), pTopLevel );
+ TQPoint pParent = parentWidget()->mapFrom( topLevelWidget(), pTopLevel );
// Move 'this' to that position.
move( pParent );
}