Underline links when showing URL hint

parent 7592e894
......@@ -1429,7 +1429,7 @@ void TerminalDisplay::paintFilters(QPainter& painter)
const int baseline = r.bottom() - metrics.descent();
// find the position of the underline below that
const int underlinePos = baseline + metrics.underlinePos();
if (region.contains(mapFromGlobal(QCursor::pos()))) {
if (_showUrlHint || region.contains(mapFromGlobal(QCursor::pos()))) {
painter.drawLine(r.left() , underlinePos ,
r.right() , underlinePos);
}
......
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