Commit ebdff634 authored by Albert Astals Cid's avatar Albert Astals Cid

if there's no page over the cursor and we were showing the pointingHandCursor...

if there's no page over the cursor and we were showing the pointingHandCursor go back to the normal one

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373428
parent 03ad75ea
......@@ -558,6 +558,16 @@ void PageView::contentsMouseMoveEvent( QMouseEvent * e )
if ( onRect != d->mouseOnRect )
setCursor( (d->mouseOnRect = onRect) ? pointingHandCursor : arrowCursor );
}
else
{
// if there's no page over the cursor and we were showing the pointingHandCursor
// go back to the normal one
if ( d->mouseOnRect )
{
d->mouseOnRect = false;
setCursor( arrowCursor );
}
}
}
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment