Merge pull request #934 from mborus/patch-1
[Qt] Fix: Show tray message without defining an icon
This commit is contained in:
commit
e4c03575e8
|
@ -2957,7 +2957,7 @@ class SystemTray:
|
||||||
elif messageicon is not None:
|
elif messageicon is not None:
|
||||||
self.TrayIcon.showMessage(title, message, messageicon, time)
|
self.TrayIcon.showMessage(title, message, messageicon, time)
|
||||||
else:
|
else:
|
||||||
self.TrayIcon.showMessage(title, message, time)
|
self.TrayIcon.showMessage(title, message, QIcon(), time)
|
||||||
|
|
||||||
self.LastMessage = message
|
self.LastMessage = message
|
||||||
self.LastTitle = title
|
self.LastTitle = title
|
||||||
|
|
Loading…
Reference in New Issue