summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/designer/editor/browser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/tools/designer/editor/browser.cpp')
-rw-r--r--tqtinterface/qt4/tools/designer/editor/browser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tqtinterface/qt4/tools/designer/editor/browser.cpp b/tqtinterface/qt4/tools/designer/editor/browser.cpp
index 129d463..32eba0c 100644
--- a/tqtinterface/qt4/tools/designer/editor/browser.cpp
+++ b/tqtinterface/qt4/tools/designer/editor/browser.cpp
@@ -57,7 +57,7 @@ EditorBrowser::~EditorBrowser()
bool EditorBrowser::eventFilter( TQObject *o, TQEvent *e )
{
- if ( ::tqqt_cast<Editor*>(o->tqparent()) || ::tqqt_cast<Editor*>(o) ) {
+ if ( ::tqqt_cast<Editor*>(o->parent()) || ::tqqt_cast<Editor*>(o) ) {
TQMouseEvent *me;
TQKeyEvent *ke;
switch ( e->type() ) {