From db589d8f552e6ddaf80712fbbddfe2f296b135b4 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 26 Jul 2023 19:10:25 +0800 Subject: Add open in browser button in expanded view --- contents/ui/ActivityView.qml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'contents/ui') 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) + } + } } } -- cgit v1.2.3