diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-04-07 18:27:19 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-04-07 18:27:19 +0800 |
commit | 1c67f456bc1117c68fc7a76fc7bedde78a8f530c (patch) | |
tree | f5675f22e173daed273d5fe8107973eb36317a33 /contents/ui/ActivityView.qml | |
parent | fb5547888f3357df1f8ec1be330c87f8306e9086 (diff) |
Remove delete button
Diffstat (limited to 'contents/ui/ActivityView.qml')
-rw-r--r-- | contents/ui/ActivityView.qml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/contents/ui/ActivityView.qml b/contents/ui/ActivityView.qml index b6996ba..c08877a 100644 --- a/contents/ui/ActivityView.qml +++ b/contents/ui/ActivityView.qml @@ -84,18 +84,5 @@ RowLayout { plasmoid.configuration.importantActivities = importantActivities } } - - PlasmaComponents3.ToolButton { - icon.name: "delete" - onClicked: () => { - // avoid non-fatal TypeError due to activityView.parent=null but .width=parent.width - activityView.width = 0 - if (type == "announcement") { - announcementsModel.remove(index) - } else { - assignmentsModel.remove(index) - } - } - } } } |