fix "Unblock" chat button

the `AbstractButton::clicked()` signal has no params; that's a leftover
from previous implementation
This commit is contained in:
Lukáš Tinkl 2023-04-05 12:24:14 +02:00 committed by Lukáš Tinkl
parent f644cdc6f4
commit 6385afebaf
1 changed files with 1 additions and 3 deletions

View File

@ -1493,9 +1493,7 @@ Rectangle {
visible: control.isContactBlocked
text: qsTr("Unblock")
type: StatusQ.StatusBaseButton.Type.Danger
onClicked: function (event) {
control.unblockChat()
}
onClicked: control.unblockChat()
}
}
}