summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/widget.cpp')
-rw-r--r--lib/koproperty/widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/koproperty/widget.cpp b/lib/koproperty/widget.cpp
index 1efeb5c09..dd44c2b0e 100644
--- a/lib/koproperty/widget.cpp
+++ b/lib/koproperty/widget.cpp
@@ -122,7 +122,7 @@ Widget::eventFilter(TQObject*, TQEvent* e)
return true;
}
else {
- Editor *list = static_cast<KoProperty::Editor*>(tqparentWidget()->tqparentWidget());
+ Editor *list = static_cast<KoProperty::Editor*>(parentWidget()->parentWidget());
if (!list)
return false; //for sanity
return list->handleKeyPress(ev);