1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 11:39:03 +00:00

qt: don't import PyQt5.Qt

This commit is contained in:
ghost43 2018-12-26 04:12:11 +01:00 committed by matejcik
parent 6dd261f4c0
commit 8c644cc03e

View File

@ -30,8 +30,7 @@ try:
QHBoxLayout,
)
from PyQt5.QtGui import QRegExpValidator
from PyQt5.QtCore import QRegExp, Qt
from PyQt5.Qt import QT_VERSION_STR
from PyQt5.QtCore import QRegExp, Qt, QT_VERSION_STR
except Exception:
from PyQt4.QtGui import (
QPushButton,