diff options
Diffstat (limited to 'libtdepim/overlaywidget.cpp')
-rw-r--r-- | libtdepim/overlaywidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtdepim/overlaywidget.cpp b/libtdepim/overlaywidget.cpp index 338a6c428..ac05d84fd 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( topLevelWidget(), p ); + TQPoint pTopLevel = mAlignWidget->mapTo( tqtopLevelWidget(), p ); // Position in the widget's parentWidget coordinates - TQPoint pParent = parentWidget()->mapFrom( topLevelWidget(), pTopLevel ); + TQPoint pParent = parentWidget()->mapFrom( tqtopLevelWidget(), pTopLevel ); // Move 'this' to that position. move( pParent ); } |