Commit 17202a04 authored by Robert Knight's avatar Robert Knight
Browse files

Remove feature that opened the web browser or email client when left-clicking...

Remove feature that opened the web browser or email client when left-clicking on appropriate URLs because several users found it annoying.  Links are still highlighted on mouse-over and can be opened by right-clicking on the link and selecting 'Open Link' or 'Send Email To...' as appropriate.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=741928
parent fcf84779
......@@ -1574,8 +1574,6 @@ void TerminalDisplay::mouseMoveEvent(QMouseEvent* ev)
qMax(spot->startColumn() , spot->endColumn()) * _fontHeight,
(spot->endLine()+1) * _fontHeight );
setCursor( Qt::PointingHandCursor );
// display tooltips when mousing over links
// TODO: Extend this to work with filter types other than links
const QString& tooltip = spot->tooltip();
......@@ -1872,20 +1870,6 @@ void TerminalDisplay::mouseReleaseEvent(QMouseEvent* ev)
int charColumn;
getCharacterPosition(ev->pos(),charLine,charColumn);
// handle filters
Filter::HotSpot* spot = _filterChain->hotSpotAt(charLine,charColumn);
if ( spot )
{
if ( ev->button() == Qt::LeftButton )
{
spot->activate();
}
else if ( ev->button() == Qt::RightButton )
{
//TODO - Show context menu with appropriate actions for hotspot.
}
}
if ( ev->button() == Qt::LeftButton)
{
emit isBusySelecting(false);
......
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