mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-08-14 02:37:01 -07:00
qt refactoring
This commit is contained in:
parent
60cd65a97e
commit
225c234076
8 changed files with 48 additions and 47 deletions
|
@ -9,7 +9,7 @@ class QXFrame(QXWidget):
|
|||
def __init__(self, bg_color=None, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
|
||||
pal = QXMainApplication.get_singleton().palette()
|
||||
pal = QXMainApplication.inst.palette()
|
||||
|
||||
if bg_color is not None:
|
||||
bg_color = QColor(bg_color)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue