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> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>900</width> <width>845</width>
<height>644</height> <height>644</height>
</rect> </rect>
</property> </property>

View file

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