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
wilder-portage
Robert Knight 19 years ago
parent fcf8477922
commit 17202a040f
  1. 16
      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);

Loading…
Cancel
Save