summaryrefslogtreecommitdiffstats
path: root/libkdepim/overlaywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/overlaywidget.cpp')
-rw-r--r--libkdepim/overlaywidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkdepim/overlaywidget.cpp b/libkdepim/overlaywidget.cpp
index 77ce34108..209b8c429 100644
--- a/libkdepim/overlaywidget.cpp
+++ b/libkdepim/overlaywidget.cpp
@@ -52,8 +52,8 @@ void OverlayWidget::reposition()
p.setY( -height() );
// Position in the toplevelwidget's coordinates
TQPoint pTopLevel = mAlignWidget->mapTo( tqtopLevelWidget(), p );
- // Position in the widget's tqparentWidget coordinates
- TQPoint pParent = tqparentWidget()->mapFrom( tqtopLevelWidget(), pTopLevel );
+ // Position in the widget's parentWidget coordinates
+ TQPoint pParent = parentWidget()->mapFrom( tqtopLevelWidget(), pTopLevel );
// Move 'this' to that position.
move( pParent );
}