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:
parent
6dd261f4c0
commit
8c644cc03e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user