summaryrefslogtreecommitdiffstats
path: root/kmag
diff options
context:
space:
mode:
Diffstat (limited to 'kmag')
-rw-r--r--kmag/kmagselrect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmag/kmagselrect.cpp b/kmag/kmagselrect.cpp
index 4a56d07..7a749cb 100644
--- a/kmag/kmagselrect.cpp
+++ b/kmag/kmagselrect.cpp
@@ -118,8 +118,8 @@ void KMagSelRect::init(TQWidget *tqparent)
{
// Make sure tqparent is the window itself, not a widget within the window
if (tqparent != 0)
- while (tqparent->tqparentWidget (true) != 0)
- tqparent=tqparent->tqparentWidget (true);
+ while (tqparent->parentWidget (true) != 0)
+ tqparent=tqparent->parentWidget (true);
selectionwindow = 0;
selWindowParent = tqparent;