summaryrefslogtreecommitdiff
path: root/contents/ui
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-07-26 19:10:25 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-07-26 19:10:25 +0800
commitdb589d8f552e6ddaf80712fbbddfe2f296b135b4 (patch)
treef5b779d65f5934646c08de6a351228d473a0a405 /contents/ui
parentd6e5294daece7e56b271f53a5d496f5edd620916 (diff)
Add open in browser button in expanded view
Diffstat (limited to 'contents/ui')
-rw-r--r--contents/ui/ActivityView.qml9
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)
+ }
+ }
}
}