diff options
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) - } - } - } } } |