Verified Commit 7d1866b5 authored by Jonah Brüchert's avatar Jonah Brüchert Committed by Linus Jahn

chat: Make images open externally when clicked

parent 10a48ac4
Pipeline #273 passed with stage
in 3 minutes and 7 seconds
......@@ -36,4 +36,9 @@ Image {
source: sourceUrl
fillMode: Image.PreserveAspectFit
asynchronous: true // might be a large image
MouseArea {
anchors.fill: parent
onClicked: Qt.openUrlExternally(sourceUrl)
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment