summaryrefslogtreecommitdiffstats
path: root/kparts/partmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kparts/partmanager.cpp')
-rw-r--r--kparts/partmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kparts/partmanager.cpp b/kparts/partmanager.cpp
index 2a11e4df5..e1f211b84 100644
--- a/kparts/partmanager.cpp
+++ b/kparts/partmanager.cpp
@@ -288,7 +288,7 @@ bool PartManager::eventFilter( TQObject *obj, TQEvent *ev )
return false;
}
- w = w->tqparentWidget();
+ w = w->parentWidget();
if ( w && ( ( w->testWFlags( WType_Dialog ) && w->isModal() ) ||
w->testWFlags( WType_Popup ) || w->testWFlags( WStyle_Tool ) ) )