fix obsolete
This commit is contained in:
parent
f900c4c466
commit
64e77092cc
2 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>900</width>
|
||||
<width>845</width>
|
||||
<height>644</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue