diff options
author | Frederick Yin <fkfd@fkfd.me> | 2023-07-26 19:10:25 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2023-07-26 19:10:25 +0800 |
commit | db589d8f552e6ddaf80712fbbddfe2f296b135b4 (patch) | |
tree | f5b779d65f5934646c08de6a351228d473a0a405 | |
parent | d6e5294daece7e56b271f53a5d496f5edd620916 (diff) |
Add open in browser button in expanded view
-rw-r--r-- | contents/ui/ActivityView.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contents/ui/ActivityView.qml b/contents/ui/ActivityView.qml index febc4e0..1407e64 100644 --- a/contents/ui/ActivityView.qml +++ b/contents/ui/ActivityView.qml @@ -137,5 +137,14 @@ PlasmaComponents.ListItem { visible: expanded text: message } + + PlasmaComponents3.Button { + icon.name: "internet-web-browser" + visible: expanded + text: "Open in browser" + onClicked: () => { + Qt.openUrlExternally(url) + } + } } } |