mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-13 05:01:30 +00:00
Re-enabled link following.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359322
This commit is contained in:
parent
d9ac251972
commit
6b2a79d908
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue