summaryrefslogtreecommitdiffstats
path: root/parts/quickopen/quickopendialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/quickopen/quickopendialog.cpp')
-rw-r--r--parts/quickopen/quickopendialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parts/quickopen/quickopendialog.cpp b/parts/quickopen/quickopendialog.cpp
index dc90a20c..5929dfa1 100644
--- a/parts/quickopen/quickopendialog.cpp
+++ b/parts/quickopen/quickopendialog.cpp
@@ -74,7 +74,7 @@ bool QuickOpenDialog::eventFilter( TQObject * watched, TQEvent * e )
if (!watched || !e)
return true;
- if ((TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(nameEdit)) && (e->type() == TQEvent::KeyPress))
+ if ((watched == nameEdit) && (e->type() == TQEvent::KeyPress))
{
TQKeyEvent *ke = (TQKeyEvent*)e;
if (ke->key() == Key_Up)