From 8760c5024d8b5f92b8def7bc898ad7c72983d0ec Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 4 Oct 2018 08:41:24 +0300 Subject: [PATCH] TextEditor: Support hyperlinks in TextMark tooltip Change-Id: I3fa4470fb06469286901025c350d636fcdd9410a Reviewed-by: David Schulz --- src/plugins/texteditor/textmark.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/texteditor/textmark.cpp b/src/plugins/texteditor/textmark.cpp index 425b5773e48..17c6268f85f 100644 --- a/src/plugins/texteditor/textmark.cpp +++ b/src/plugins/texteditor/textmark.cpp @@ -290,6 +290,7 @@ bool TextMark::addToolTipContent(QLayout *target) const } auto textLabel = new QLabel; + textLabel->setOpenExternalLinks(true); textLabel->setText(text); // Differentiate between tool tips that where explicitly set and default tool tips. textLabel->setEnabled(!m_toolTip.isEmpty());