From 380cda664323e0db86dc5c851d9333875ff318fd Mon Sep 17 00:00:00 2001 From: Luis Lucas Date: Thu, 3 Apr 2014 17:32:29 +0100 Subject: [PATCH] Disable open hand cursor when image is not being moved. Just use closed hand cursor when image is clicked. --- source/app/ViewArea.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/source/app/ViewArea.cpp b/source/app/ViewArea.cpp index 2a78ae8..c19a301 100755 --- a/source/app/ViewArea.cpp +++ b/source/app/ViewArea.cpp @@ -138,11 +138,6 @@ void ViewArea::setZoomFactor( double f ) updateSize(); update(); - - if( !(m_xOffset && m_yOffset) ) - setCursor( Qt::OpenHandCursor ); - else - unsetCursor(); } void ViewArea::setMode( ViewMode mode ) @@ -741,9 +736,6 @@ void ViewArea::mouseReleaseEvent( QMouseEvent *event ) { if( tool() == NavigationTool ) { - if( !(m_xOffset && m_yOffset) ) - setCursor( Qt::OpenHandCursor ); - else unsetCursor(); }