Browse Source

qt: don't import PyQt5.Qt

related #4960
3.3.3.1
SomberNight 6 years ago
parent
commit
bd1f7b539e
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/plugins/hw_wallet/qt.py
  2. 6
      electrum/plugins/keepkey/qt.py
  3. 2
      electrum/plugins/ledger/auth2fa.py
  4. 6
      electrum/plugins/safe_t/qt.py
  5. 6
      electrum/plugins/trezor/qt.py

2
electrum/plugins/hw_wallet/qt.py

@ -26,7 +26,7 @@
import threading import threading
from PyQt5.Qt import QVBoxLayout, QLabel from PyQt5.QtWidgets import QVBoxLayout, QLabel
from electrum.gui.qt.password_dialog import PasswordLayout, PW_PASSPHRASE from electrum.gui.qt.password_dialog import PasswordLayout, PW_PASSPHRASE
from electrum.gui.qt.util import * from electrum.gui.qt.util import *

6
electrum/plugins/keepkey/qt.py

@ -1,9 +1,9 @@
from functools import partial from functools import partial
import threading import threading
from PyQt5.Qt import Qt from PyQt5.QtCore import Qt
from PyQt5.Qt import QGridLayout, QInputDialog, QPushButton from PyQt5.QtWidgets import QGridLayout, QInputDialog, QPushButton
from PyQt5.Qt import QVBoxLayout, QLabel from PyQt5.QtWidgets import QVBoxLayout, QLabel
from electrum.gui.qt.util import * from electrum.gui.qt.util import *
from electrum.i18n import _ from electrum.i18n import _

2
electrum/plugins/ledger/auth2fa.py

@ -7,7 +7,7 @@ from binascii import hexlify, unhexlify
import websocket import websocket
from PyQt5.Qt import QDialog, QLineEdit, QTextEdit, QVBoxLayout, QLabel from PyQt5.QtWidgets import QDialog, QLineEdit, QTextEdit, QVBoxLayout, QLabel
import PyQt5.QtCore as QtCore import PyQt5.QtCore as QtCore
from PyQt5.QtWidgets import * from PyQt5.QtWidgets import *

6
electrum/plugins/safe_t/qt.py

@ -1,9 +1,9 @@
from functools import partial from functools import partial
import threading import threading
from PyQt5.Qt import Qt from PyQt5.QtCore import Qt
from PyQt5.Qt import QGridLayout, QInputDialog, QPushButton from PyQt5.QtWidgets import QGridLayout, QInputDialog, QPushButton
from PyQt5.Qt import QVBoxLayout, QLabel from PyQt5.QtWidgets import QVBoxLayout, QLabel
from electrum.gui.qt.util import * from electrum.gui.qt.util import *
from electrum.i18n import _ from electrum.i18n import _

6
electrum/plugins/trezor/qt.py

@ -1,9 +1,9 @@
from functools import partial from functools import partial
import threading import threading
from PyQt5.Qt import Qt from PyQt5.QtCore import Qt
from PyQt5.Qt import QGridLayout, QInputDialog, QPushButton from PyQt5.QtWidgets import QGridLayout, QInputDialog, QPushButton
from PyQt5.Qt import QVBoxLayout, QLabel from PyQt5.QtWidgets import QVBoxLayout, QLabel
from electrum.gui.qt.util import * from electrum.gui.qt.util import *
from electrum.i18n import _ from electrum.i18n import _

Loading…
Cancel
Save