Merge pull request #277 from invl/patch-1

Fix blank trayicon on windows standalone build
This commit is contained in:
ThomasV 2013-08-22 04:04:55 -07:00
commit af8a7aa6f0
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)