summaryrefslogtreecommitdiffstats
path: root/kdeui/kaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/kaction.cpp')
-rw-r--r--kdeui/kaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeui/kaction.cpp b/kdeui/kaction.cpp
index 2c5b5caec..3502f9d20 100644
--- a/kdeui/kaction.cpp
+++ b/kdeui/kaction.cpp
@@ -813,7 +813,7 @@ void KAction::plugMainWindowAccel( TQWidget *w )
// Note: tqtopLevelWidget() stops too early, we can't use it.
TQWidget * tl = w;
TQWidget * n;
- while ( !tl->isDialog() && ( n = tl->tqparentWidget() ) ) // lookup parent and store
+ while ( !tl->isDialog() && ( n = tl->parentWidget() ) ) // lookup parent and store
tl = n;
KMainWindow * mw = tqt_dynamic_cast<KMainWindow *>(tl); // try to see if it's a kmainwindow