Delete unused tooltip code (#81)
This commit is contained in:
@@ -39,7 +39,6 @@
|
||||
#include <QScrollBar>
|
||||
#include <QStyle>
|
||||
#include <QTimer>
|
||||
#include <QToolTip>
|
||||
#include <QtDebug>
|
||||
#include <QUrl>
|
||||
#include <QMimeData>
|
||||
@@ -1865,13 +1864,6 @@ void TerminalDisplay::mouseMoveEvent(QMouseEvent* ev)
|
||||
(spot->endLine()+1)*_fontHeight );
|
||||
_mouseOverHotspotArea |= r;
|
||||
}
|
||||
// display tooltips when mousing over links
|
||||
// TODO: Extend this to work with filter types other than links
|
||||
const QString& tooltip = spot->tooltip();
|
||||
if ( !tooltip.isEmpty() )
|
||||
{
|
||||
QToolTip::showText( mapToGlobal(ev->pos()) , tooltip , this , _mouseOverHotspotArea.boundingRect() );
|
||||
}
|
||||
|
||||
update( _mouseOverHotspotArea | previousHotspotArea );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user