Added default icon to System Tray if none is set by user.
This commit is contained in:
		
							parent
							
								
									8b9bc0e22b
								
							
						
					
					
						commit
						fad0d69682
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -2937,6 +2937,8 @@ class SystemTray: | ||||||
|         self.App = Window.QTApplication |         self.App = Window.QTApplication | ||||||
|         self.Widget = self.QWidget = QWidget()              # type: QWidget |         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 |         qicon = None | ||||||
|         if filename is not None: |         if filename is not None: | ||||||
|             qicon = QIcon(filename) |             qicon = QIcon(filename) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue