Added default icon to System Tray if none is set by user.

This commit is contained in:
MikeTheWatchGuy 2019-07-24 14:34:34 -04:00
parent 8b9bc0e22b
commit fad0d69682
1 changed files with 2 additions and 0 deletions

View File

@ -2937,6 +2937,8 @@ class SystemTray:
self.App = Window.QTApplication
self.Widget = self.QWidget = QWidget() # type: QWidget
if filename is None and data is None and data_base64 is None:
data_base64 = DEFAULT_BASE64_ICON
qicon = None
if filename is not None:
qicon = QIcon(filename)