diff options
Diffstat (limited to 'kommander/widget/kommanderwidget.cpp')
-rw-r--r-- | kommander/widget/kommanderwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kommander/widget/kommanderwidget.cpp b/kommander/widget/kommanderwidget.cpp index 793be627..d0f9e885 100644 --- a/kommander/widget/kommanderwidget.cpp +++ b/kommander/widget/kommanderwidget.cpp @@ -652,9 +652,9 @@ TQString KommanderWidget::substituteVariable(TQString text, TQString variable, T TQWidget* KommanderWidget::parentDialog() const { TQObject *superParent = m_thisObject; - while (superParent->tqparent()) + while (superParent->parent()) { - superParent = superParent->tqparent(); + superParent = superParent->parent(); if (superParent->inherits(TQDIALOG_OBJECT_NAME_STRING) || superParent->inherits(TQMAINWINDOW_OBJECT_NAME_STRING)) break; } |