Fix blank trayicon on windows standalone build

This commit is contained in:
invl 2013-08-22 18:23:33 +08:00
parent bcda5e35e7
commit 2eea8671d8
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class ElectrumWindow(QMainWindow):
self.config = config
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.setToolTip('Electrum')
self.tray.activated.connect(self.tray_activated)