fix obsolete

This commit is contained in:
Martin Rotter 2020-08-03 07:50:16 +02:00
parent f900c4c466
commit 64e77092cc
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>900</width>
<width>845</width>
<height>644</height>
</rect>
</property>

View file

@ -95,9 +95,9 @@ void MessagePreviewer::createConnections() {
this,
&MessagePreviewer::switchMessageImportance);
connect(m_ui.m_txtMessage,
static_cast<void (QTextBrowser::*)(const QString&)>(&QTextBrowser::highlighted),
[=](const QString& text) {
Q_UNUSED(text)
QOverload<const QUrl&>::of(&QTextBrowser::highlighted),
[=](const QUrl& url) {
Q_UNUSED(url)
QToolTip::showText(QCursor::pos(), tr("Click this link to download it or open it with external browser."), this);
});
}