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

View File

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