diff options
Diffstat (limited to 'kview/kviewcanvas/kimageholder.cpp')
-rw-r--r-- | kview/kviewcanvas/kimageholder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kview/kviewcanvas/kimageholder.cpp b/kview/kviewcanvas/kimageholder.cpp index 62eaeea2..2f578382 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()).contains( ev->pos(), false ) ) + if( 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 ) |