Commit 6b2a79d9 authored by Enrico Ros's avatar Enrico Ros
Browse files

Re-enabled link following.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359322
parent d9ac2519
......@@ -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:
......
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