diff options
Diffstat (limited to 'src/gui/overlaywidget.cpp')
-rw-r--r-- | src/gui/overlaywidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/overlaywidget.cpp b/src/gui/overlaywidget.cpp index fd5c02b..3bea8db 100644 --- a/src/gui/overlaywidget.cpp +++ b/src/gui/overlaywidget.cpp @@ -70,9 +70,9 @@ void OverlayWidget::reposition() { } // Position in the toplevelwidget's coordinates - TQPoint pTopLevel = m_anchor->mapTo(tqtopLevelWidget(), p); + TQPoint pTopLevel = m_anchor->mapTo(topLevelWidget(), p); // Position in the widget's parentWidget coordinates - TQPoint pParent = parentWidget()->mapFrom(tqtopLevelWidget(), pTopLevel); + TQPoint pParent = parentWidget()->mapFrom(topLevelWidget(), pTopLevel); // keep it on the screen if(pParent.x() < 0) { pParent.rx() = 0; |