mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-19 10:20:17 +08:00
chatview: correctly handle clicked links in the webview
Change-Id: I16edca89fe0e66fb3845cc0420c251c70c12bdec Gitlab: #11
This commit is contained in:
committed by
Adrien Béraud
parent
214d9add58
commit
06fbda77e0
@@ -332,6 +332,14 @@ MessagesAdapter::openFile(const QString &arg)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
MessagesAdapter::openUrl(const QString &url)
|
||||
{
|
||||
if (!QDesktopServices::openUrl(url)) {
|
||||
qDebug() << "Couldn't open url: " << url;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
MessagesAdapter::acceptFile(const QString &arg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user