From 6385afebafa784829d8ca0aa253b9082c8e1faf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Wed, 5 Apr 2023 12:24:14 +0200 Subject: [PATCH] fix "Unblock" chat button the `AbstractButton::clicked()` signal has no params; that's a leftover from previous implementation --- ui/imports/shared/status/StatusChatInput.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/imports/shared/status/StatusChatInput.qml b/ui/imports/shared/status/StatusChatInput.qml index 3b5b0c7990e..2f835d0adcc 100644 --- a/ui/imports/shared/status/StatusChatInput.qml +++ b/ui/imports/shared/status/StatusChatInput.qml @@ -1493,9 +1493,7 @@ Rectangle { visible: control.isContactBlocked text: qsTr("Unblock") type: StatusQ.StatusBaseButton.Type.Danger - onClicked: function (event) { - control.unblockChat() - } + onClicked: control.unblockChat() } } }