summaryrefslogtreecommitdiffstats
path: root/kword/KWCanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWCanvas.cpp')
-rw-r--r--kword/KWCanvas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kword/KWCanvas.cpp b/kword/KWCanvas.cpp
index 11e23e27..044801ae 100644
--- a/kword/KWCanvas.cpp
+++ b/kword/KWCanvas.cpp
@@ -1699,9 +1699,9 @@ void KWCanvas::updateRulerOffsets( int cx, int cy )
bool KWCanvas::eventFilter( TQObject *o, TQEvent *e )
{
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(viewport()) ) {
+ if ( o == this || o == viewport() ) {
- if(m_currentFrameSetEdit && TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) )
+ if(m_currentFrameSetEdit && o == this )
{
// Pass event to auto-hide-cursor code (see kcursor.h for details)
KCursor::autoHideEventFilter( o, e );