diff options
Diffstat (limited to 'lib/koproperty/editor.cpp')
-rw-r--r-- | lib/koproperty/editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/koproperty/editor.cpp b/lib/koproperty/editor.cpp index d4c61ec2..2dc05f48 100644 --- a/lib/koproperty/editor.cpp +++ b/lib/koproperty/editor.cpp @@ -915,7 +915,7 @@ Editor::resizeEvent(TQResizeEvent *ev) bool Editor::eventFilter( TQObject * watched, TQEvent * e ) { - if ((TQT_BASE_OBJECT(watched)==TQT_BASE_OBJECT(this) || TQT_BASE_OBJECT(watched)==TQT_BASE_OBJECT(viewport())) && e->type()==TQEvent::KeyPress) { + if ((watched==this || watched==viewport()) && e->type()==TQEvent::KeyPress) { if (handleKeyPress(TQT_TQKEYEVENT(e))) return true; } |