mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-17 23:11:48 +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
|
else
|
||||||
{
|
{
|
||||||
/* // detect the underlaying page (if present)
|
// detect the underlaying page (if present)
|
||||||
PageViewItem * pageItem = pickItemOnPoint( e->x(), e->y() );
|
PageViewItem * pageItem = pickItemOnPoint( e->x(), e->y() );
|
||||||
if ( PageViewItem )
|
if ( pageItem )
|
||||||
{
|
{
|
||||||
int pageX = e->x() - childX( pageItem ),
|
int pageX = e->x() - pageItem->geometry().left(),
|
||||||
pageY = e->y() - childY( pageItem );
|
pageY = e->y() - pageItem->geometry().top();
|
||||||
|
|
||||||
// check if over a KPDFActiveRect
|
// check if over a KPDFActiveRect
|
||||||
bool onActiveRect = pageItem->page()->hasActiveRect( pageX, pageY );
|
bool onActiveRect = pageItem->page()->hasActiveRect( pageX, pageY );
|
||||||
|
@ -506,7 +506,7 @@ void PageView::contentsMouseMoveEvent( QMouseEvent * e )
|
||||||
setCursor( onLink ? pointingHandCursor : arrowCursor );
|
setCursor( onLink ? pointingHandCursor : arrowCursor );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/ }
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MouseSelection:
|
case MouseSelection:
|
||||||
|
|
Loading…
Reference in a new issue