tqt: don't import PyQt5.Qt - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit bd1f7b539e09d77c75baa7512bd8fec1dedc5f47 DIR parent ccec45a5640bdc8161229753524fd468fd98f1a5 HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 26 Dec 2018 03:58:50 +0100 qt: don't import PyQt5.Qt related #4960 Diffstat: M electrum/plugins/hw_wallet/qt.py | 2 +- M electrum/plugins/keepkey/qt.py | 6 +++--- M electrum/plugins/ledger/auth2fa.py | 2 +- M electrum/plugins/safe_t/qt.py | 6 +++--- M electrum/plugins/trezor/qt.py | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) --- DIR diff --git a/electrum/plugins/hw_wallet/qt.py b/electrum/plugins/hw_wallet/qt.py t@@ -26,7 +26,7 @@ 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.util import * DIR diff --git a/electrum/plugins/keepkey/qt.py b/electrum/plugins/keepkey/qt.py t@@ -1,9 +1,9 @@ from functools import partial import threading -from PyQt5.Qt import Qt -from PyQt5.Qt import QGridLayout, QInputDialog, QPushButton -from PyQt5.Qt import QVBoxLayout, QLabel +from PyQt5.QtCore import Qt +from PyQt5.QtWidgets import QGridLayout, QInputDialog, QPushButton +from PyQt5.QtWidgets import QVBoxLayout, QLabel from electrum.gui.qt.util import * from electrum.i18n import _ DIR diff --git a/electrum/plugins/ledger/auth2fa.py b/electrum/plugins/ledger/auth2fa.py t@@ -7,7 +7,7 @@ from binascii import hexlify, unhexlify 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 from PyQt5.QtWidgets import * DIR diff --git a/electrum/plugins/safe_t/qt.py b/electrum/plugins/safe_t/qt.py t@@ -1,9 +1,9 @@ from functools import partial import threading -from PyQt5.Qt import Qt -from PyQt5.Qt import QGridLayout, QInputDialog, QPushButton -from PyQt5.Qt import QVBoxLayout, QLabel +from PyQt5.QtCore import Qt +from PyQt5.QtWidgets import QGridLayout, QInputDialog, QPushButton +from PyQt5.QtWidgets import QVBoxLayout, QLabel from electrum.gui.qt.util import * from electrum.i18n import _ DIR diff --git a/electrum/plugins/trezor/qt.py b/electrum/plugins/trezor/qt.py t@@ -1,9 +1,9 @@ from functools import partial import threading -from PyQt5.Qt import Qt -from PyQt5.Qt import QGridLayout, QInputDialog, QPushButton -from PyQt5.Qt import QVBoxLayout, QLabel +from PyQt5.QtCore import Qt +from PyQt5.QtWidgets import QGridLayout, QInputDialog, QPushButton +from PyQt5.QtWidgets import QVBoxLayout, QLabel from electrum.gui.qt.util import * from electrum.i18n import _