qml: remove .desktop suffix for QGuiApplication.setDesktopFileName
This commit is contained in:
@@ -65,7 +65,7 @@ class ElectrumGui(BaseElectrumGui, Logger):
|
|||||||
if hasattr(Qt, "AA_ShareOpenGLContexts"):
|
if hasattr(Qt, "AA_ShareOpenGLContexts"):
|
||||||
QCoreApplication.setAttribute(Qt.AA_ShareOpenGLContexts)
|
QCoreApplication.setAttribute(Qt.AA_ShareOpenGLContexts)
|
||||||
if hasattr(QGuiApplication, 'setDesktopFileName'):
|
if hasattr(QGuiApplication, 'setDesktopFileName'):
|
||||||
QGuiApplication.setDesktopFileName('electrum.desktop')
|
QGuiApplication.setDesktopFileName('electrum')
|
||||||
|
|
||||||
if "QT_QUICK_CONTROLS_STYLE" not in os.environ:
|
if "QT_QUICK_CONTROLS_STYLE" not in os.environ:
|
||||||
os.environ["QT_QUICK_CONTROLS_STYLE"] = "Material"
|
os.environ["QT_QUICK_CONTROLS_STYLE"] = "Material"
|
||||||
|
|||||||
Reference in New Issue
Block a user