summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/textmark.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2018-10-04 08:41:24 +0300
committerOrgad Shaneh <orgads@gmail.com>2018-10-08 13:28:02 +0000
commit8760c5024d8b5f92b8def7bc898ad7c72983d0ec (patch)
tree113d2f8b8915e9dfa16c8ba05a87799364b1550c /src/plugins/texteditor/textmark.cpp
parentb1031d25dccb2a4ceb93f38cf1668bca760808f6 (diff)
downloadqt-creator-8760c5024d8b5f92b8def7bc898ad7c72983d0ec.tar.gz
TextEditor: Support hyperlinks in TextMark tooltip
Change-Id: I3fa4470fb06469286901025c350d636fcdd9410a Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/textmark.cpp')
-rw-r--r--src/plugins/texteditor/textmark.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/textmark.cpp b/src/plugins/texteditor/textmark.cpp
index 425b5773e4..17c6268f85 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());