summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-07-09 00:45:37 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-07-09 00:45:37 +0200
commit8d3ab300b650dcef3d12fe1e5a4bb14855e8495a (patch)
tree309dc5145a30395afef3808130dc6f4ac9c8f3df /resources
parentUpdate dependencies (diff)
downloadnheko-8d3ab300b650dcef3d12fe1e5a4bb14855e8495a.tar.xz
Open url using QDesktopServices from Qml
This fixes some weirdness on some platforms, where Qt.openUrlExternally
does weird stuff.
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/MatrixText.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/MatrixText.qml b/resources/qml/MatrixText.qml

index 9a4f7348..d56143dd 100644 --- a/resources/qml/MatrixText.qml +++ b/resources/qml/MatrixText.qml
@@ -16,7 +16,7 @@ TextEdit { timelineManager.setHistoryView(match[1]) chat.positionViewAtIndex(chat.model.idToIndex(match[2]), ListView.Contain) } - else Qt.openUrlExternally(link) + else timelineManager.openLink(link) } MouseArea {