mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-05 05:15:27 +00:00
qt: don't import PyQt5.Qt
This commit is contained in:
parent
6dd261f4c0
commit
8c644cc03e
@ -30,8 +30,7 @@ try:
|
|||||||
QHBoxLayout,
|
QHBoxLayout,
|
||||||
)
|
)
|
||||||
from PyQt5.QtGui import QRegExpValidator
|
from PyQt5.QtGui import QRegExpValidator
|
||||||
from PyQt5.QtCore import QRegExp, Qt
|
from PyQt5.QtCore import QRegExp, Qt, QT_VERSION_STR
|
||||||
from PyQt5.Qt import QT_VERSION_STR
|
|
||||||
except Exception:
|
except Exception:
|
||||||
from PyQt4.QtGui import (
|
from PyQt4.QtGui import (
|
||||||
QPushButton,
|
QPushButton,
|
||||||
|
Loading…
Reference in New Issue
Block a user