From 17202a040fefb8d78957a8c68f26e65176451ac2 Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Mon, 26 Nov 2007 19:00:18 +0000 Subject: [PATCH] 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 --- src/TerminalDisplay.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp index 4404e76f..7816f6e4 100644 --- a/src/TerminalDisplay.cpp +++ b/src/TerminalDisplay.cpp @@ -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);