Added option to turn off link info tooltips.

This commit is contained in:
23rd
2018-08-25 20:49:50 +03:00
parent 5253ab3f85
commit f8c42918a6
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -864,6 +864,8 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
if (tooltip.isEmpty()) {
tooltipWidget->hide();
} else if (hoverLayoutElement->getLink().isValid() && !getSettings()->enableLinkInfoTooltip) {
tooltipWidget->hide();
} else {
tooltipWidget->moveTo(this, event->globalPos());
tooltipWidget->setWordWrap(hoverLayoutElement->getLink().isValid());