Disable open hand cursor when image is not being moved. Just use closed hand cursor when image is clicked.

This commit is contained in:
Luis Lucas committed 2014-04-03 17:32:29 +01:00
1 parent 99ec39e9ff
commit 380cda6643
1 file changed
-8
-8
View File
@@ -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();
}