Merge pull request #277 from invl/patch-1
Fix blank trayicon on windows standalone build
This commit is contained in:
commit
af8a7aa6f0
|
@ -273,7 +273,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
self.config = config
|
self.config = config
|
||||||
self.current_account = self.config.get("current_account", None)
|
self.current_account = self.config.get("current_account", None)
|
||||||
|
|
||||||
self.icon = QIcon(os.getcwd() + '/icons/electrum.png')
|
self.icon = QIcon(':/icons/electrum.png')
|
||||||
self.tray = QSystemTrayIcon(self.icon, self)
|
self.tray = QSystemTrayIcon(self.icon, self)
|
||||||
self.tray.setToolTip('Electrum')
|
self.tray.setToolTip('Electrum')
|
||||||
self.tray.activated.connect(self.tray_activated)
|
self.tray.activated.connect(self.tray_activated)
|
||||||
|
|
Loading…
Reference in New Issue