Browse Source

qml: trustedcoin: remove redundant slot parameter in createKeystore

master
Sander van Grieken 2 years ago
parent
commit
28042c61c1
No known key found for this signature in database
GPG Key ID: 9BCF8209EA402EBA
  1. 2
      electrum/plugins/trustedcoin/common_qt.py
  2. 2
      electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml

2
electrum/plugins/trustedcoin/common_qt.py

@ -127,7 +127,7 @@ class TrustedcoinPluginQObject(PluginQObject):
t.daemon = True t.daemon = True
t.start() t.start()
@pyqtSlot(str) @pyqtSlot()
def createKeystore(self): def createKeystore(self):
email = 'dummy@electrum.org' email = 'dummy@electrum.org'

2
electrum/plugins/trustedcoin/qml/ShowConfirmOTP.qml

@ -113,7 +113,7 @@ WizardComponent {
Component.onCompleted: { Component.onCompleted: {
plugin = AppController.plugin('trustedcoin') plugin = AppController.plugin('trustedcoin')
plugin.createKeystore(wizard_data['2fa_email']) plugin.createKeystore()
otp_auth.forceActiveFocus() otp_auth.forceActiveFocus()
} }

Loading…
Cancel
Save