diff options
Diffstat (limited to 'src/gui/widgets/Fader.cpp')
-rw-r--r-- | src/gui/widgets/Fader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/Fader.cpp b/src/gui/widgets/Fader.cpp index 021252e..54c746f 100644 --- a/src/gui/widgets/Fader.cpp +++ b/src/gui/widgets/Fader.cpp @@ -415,12 +415,12 @@ Fader::showFloatText() // Reposition - we need to sum the relative positions up to the // topLevel or dialog to please move(). // - TQWidget *par = tqparentWidget(); + TQWidget *par = parentWidget(); TQPoint totalPos = this->pos(); - while (par->tqparentWidget() && !par->isTopLevel() && !par->isDialog()) { + while (par->parentWidget() && !par->isTopLevel() && !par->isDialog()) { totalPos += par->pos(); - par = par->tqparentWidget(); + par = par->parentWidget(); } // Move just top/right |