summaryrefslogtreecommitdiffstats
path: root/kview/kviewcanvas/kimagecanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kview/kviewcanvas/kimagecanvas.cpp')
-rw-r--r--kview/kviewcanvas/kimagecanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kview/kviewcanvas/kimagecanvas.cpp b/kview/kviewcanvas/kimagecanvas.cpp
index 8c203478..39e78305 100644
--- a/kview/kviewcanvas/kimagecanvas.cpp
+++ b/kview/kviewcanvas/kimagecanvas.cpp
@@ -326,7 +326,7 @@ TQString KImageCanvas::blendEffectDescription( unsigned int idx ) const
bool KImageCanvas::eventFilter( TQObject * obj, TQEvent * ev )
{
- if( ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_client) || TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_oldClient) ) && ev->type() == TQEvent::MouseMove )
+ if( ( obj == m_client || obj == m_oldClient ) && ev->type() == TQEvent::MouseMove )
mouseMoveEvent( TQT_TQMOUSEEVENT( ev ) );
return TQScrollView::eventFilter( obj, ev );
}