|
|
@ -88,7 +88,9 @@ class ElectrumGui(Logger): |
|
|
|
QGuiApplication.setDesktopFileName('electrum.desktop') |
|
|
|
if hasattr(QtCore.Qt, "AA_EnableHighDpiScaling"): |
|
|
|
QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling); |
|
|
|
os.environ["QT_QUICK_CONTROLS_STYLE"] = "Material" |
|
|
|
|
|
|
|
if not "QT_QUICK_CONTROLS_STYLE" in os.environ: |
|
|
|
os.environ["QT_QUICK_CONTROLS_STYLE"] = "Material" |
|
|
|
|
|
|
|
self.gui_thread = threading.current_thread() |
|
|
|
self.config = config |
|
|
|