Add ability to click on links in latest news. (#2643)

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
AT 2024-07-10 19:09:06 -04:00 committed by GitHub
parent 9e4991aced
commit e832ebaf21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,6 +189,9 @@ Rectangle {
Accessible.role: Accessible.Paragraph
Accessible.name: qsTr("Latest news")
Accessible.description: qsTr("Latest news from GPT4All")
onLinkActivated: function(link) {
Qt.openUrlExternally(link);
}
}
}
}