Re-enabled link following.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359322
This commit is contained in:
Enrico Ros 2004-10-31 17:12:52 +00:00
parent d9ac251972
commit 6b2a79d908

View file

@ -483,12 +483,12 @@ void PageView::contentsMouseMoveEvent( QMouseEvent * e )
}
else
{
/* // detect the underlaying page (if present)
// detect the underlaying page (if present)
PageViewItem * pageItem = pickItemOnPoint( e->x(), e->y() );
if ( PageViewItem )
if ( pageItem )
{
int pageX = e->x() - childX( pageItem ),
pageY = e->y() - childY( pageItem );
int pageX = e->x() - pageItem->geometry().left(),
pageY = e->y() - pageItem->geometry().top();
// check if over a KPDFActiveRect
bool onActiveRect = pageItem->page()->hasActiveRect( pageX, pageY );
@ -506,7 +506,7 @@ void PageView::contentsMouseMoveEvent( QMouseEvent * e )
setCursor( onLink ? pointingHandCursor : arrowCursor );
}
}
*/ }
}
break;
case MouseSelection: