commit c9d93d30c7380a302ab7cc2310121154ce786dbf
parent 81bd8d8d679a0a6ece4b35da818cf8ce958016dd
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 8 Feb 2018 17:33:57 +0100
fix #3877
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py
@@ -94,6 +94,8 @@ class ElectrumGui:
QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_X11InitThreads)
if hasattr(QtCore.Qt, "AA_ShareOpenGLContexts"):
QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_ShareOpenGLContexts)
+ if hasattr(QGuiApplication, 'setDesktopFileName'):
+ QGuiApplication.setDesktopFileName('electrum.desktop')
self.config = config
self.daemon = daemon
self.plugins = plugins