From 51964c4fd7f41e9b1a394d0787897d8cd9ba771e Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 2 Oct 2020 17:33:04 +0200 Subject: Clean up verification pages a bit --- .../device-verification/AwaitingVerificationConfirmation.qml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'resources/qml/device-verification/AwaitingVerificationConfirmation.qml') diff --git a/resources/qml/device-verification/AwaitingVerificationConfirmation.qml b/resources/qml/device-verification/AwaitingVerificationConfirmation.qml index e0786343..aaebba6a 100644 --- a/resources/qml/device-verification/AwaitingVerificationConfirmation.qml +++ b/resources/qml/device-verification/AwaitingVerificationConfirmation.qml @@ -25,15 +25,7 @@ Pane { Button { Layout.alignment: Qt.AlignLeft text: qsTr("Cancel") - palette { - button: "white" - } - contentItem: Text { - text: parent.text - color: "black" - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - } + onClicked: { flow.cancelVerification(DeviceVerificationFlow.User); deviceVerificationList.remove(tran_id); -- cgit 1.5.1