summaryrefslogtreecommitdiffstats
path: root/kview/kviewcanvas/kimageholder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kview/kviewcanvas/kimageholder.cpp')
-rw-r--r--kview/kviewcanvas/kimageholder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kview/kviewcanvas/kimageholder.cpp b/kview/kviewcanvas/kimageholder.cpp
index a26a061f..1bf3df98 100644
--- a/kview/kviewcanvas/kimageholder.cpp
+++ b/kview/kviewcanvas/kimageholder.cpp
@@ -83,7 +83,7 @@ void KImageHolder::mousePressEvent( TQMouseEvent *ev )
void KImageHolder::mouseMoveEvent( TQMouseEvent *ev )
{
//FIXME: when scrolling the cursorpos shouldn't change
- if( TQT_TQRECT_OBJECT(this->rect()).tqcontains( ev->pos(), false ) )
+ if( TQT_TQRECT_OBJECT(this->rect()).contains( ev->pos(), false ) )
emit cursorPos( ev->pos() );
//kdDebug( 4620 ) << k_funcinfo << " ev->state() = " << ev->state() << endl;
if( ev->state() & Qt::LeftButton || ev->state() & Qt::MidButton )