From 28042c61c154c280736edd003908377b374d0c75 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Mon, 22 Jan 2024 13:32:59 +0100 Subject: [PATCH] qml: trustedcoin: remove redundant slot parameter in createKeystore --- electrum/plugins/trustedcoin/common_qt.py | 2 +- electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/plugins/trustedcoin/common_qt.py b/electrum/plugins/trustedcoin/common_qt.py index b2fa77a8b..0b2679fc0 100644 --- a/electrum/plugins/trustedcoin/common_qt.py +++ b/electrum/plugins/trustedcoin/common_qt.py @@ -127,7 +127,7 @@ class TrustedcoinPluginQObject(PluginQObject): t.daemon = True t.start() - @pyqtSlot(str) + @pyqtSlot() def createKeystore(self): email = 'dummy@electrum.org' diff --git a/electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml b/electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml index 9a846cf03..7f9751cde 100644 --- a/electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml +++ b/electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml @@ -113,7 +113,7 @@ WizardComponent { Component.onCompleted: { plugin = AppController.plugin('trustedcoin') - plugin.createKeystore(wizard_data['2fa_email']) + plugin.createKeystore() otp_auth.forceActiveFocus() }