Systray using .png icons

This commit is contained in:
Vinicius Moreira
2019-06-17 14:50:34 -03:00
parent 8f7cdbfa36
commit 0ce4f4bde7
3 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -38,8 +38,8 @@ class TrayIcon(QSystemTrayIcon):
self.locale_keys = locale_keys self.locale_keys = locale_keys
self.controller = controller self.controller = controller
self.icon_default = QIcon(resource.get_path('img/flathub_45.svg')) self.icon_default = QIcon(resource.get_path('img/flathub_45.png'))
self.icon_update = QIcon(resource.get_path('img/update_logo.svg')) self.icon_update = QIcon(resource.get_path('img/update_logo.png'))
QSystemTrayIcon.__init__(self, self.icon_default, parent) QSystemTrayIcon.__init__(self, self.icon_default, parent)
self.menu = QMenu(parent) self.menu = QMenu(parent)