Commit 28986ab6 authored by LNJ's avatar LNJ 💬

RosterPage: Remove contact deletion action

Co-authored-by: Robert Maerkisch's avatarRobert Maerkisch <zatroxde@protonmail.ch>
parent cec3ce00
Pipeline #5741 passed with stages
in 30 minutes and 24 seconds
......@@ -5,7 +5,6 @@
<qresource prefix="/icons/breeze/actions/22">
<file alias="application-menu.svg">3rdparty/breeze-icons/icons/actions/22/application-menu.svg</file>
<file alias="bookmark-remove.svg">3rdparty/breeze-icons/icons/actions/22/bookmark-remove.svg</file>
<file alias="document-decrypt.svg">3rdparty/breeze-icons/icons/actions/22/document-decrypt.svg</file>
<file alias="contact-new.svg">3rdparty/breeze-icons/icons/actions/22/contact-new.svg</file>
<file alias="dialog-close.svg">3rdparty/breeze-icons/icons/actions/22/dialog-close.svg</file>
......
......@@ -50,10 +50,6 @@ Kirigami.ScrollablePage {
id: addContactSheet
jid: ""
}
RosterRemoveContactSheet {
id: removeContactSheet
jid: ""
}
mainAction: Kirigami.Action {
text: qsTr("Add new contact")
......@@ -127,15 +123,6 @@ Kirigami.ScrollablePage {
"chatName": chatName
})
}
actions: [
Kirigami.Action {
iconName: "bookmark-remove"
onTriggered: {
removeContactSheet.jid = model.jid;
removeContactSheet.open();
}
}
]
function newPresenceArrived(jid) {
if (jid === model.jid) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment