qt: set default "window icon" (only visible on Windows)

This commit is contained in:
SomberNight 2019-02-04 18:07:14 +01:00
parent 9e58d56e6d
commit 68cd37282e
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -97,6 +97,7 @@ class ElectrumGui(PrintError):
self.efilter = OpenFileEventFilter(self.windows)
self.app = QElectrumApplication(sys.argv)
self.app.installEventFilter(self.efilter)
self.app.setWindowIcon(read_QIcon("electrum.png"))
# timer
self.timer = QTimer(self.app)
self.timer.setSingleShot(False)