mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	bpo-38830: Correct slot signature in Qt example. (GH-17220)
This commit is contained in:
		
							parent
							
								
									59c80889ff
								
							
						
					
					
						commit
						5383956583
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -2949,7 +2949,7 @@ refer to the comments in the code snippet for more detailed information.
 | 
				
			||||||
        # The functions below update the UI and run in the main thread because
 | 
					        # The functions below update the UI and run in the main thread because
 | 
				
			||||||
        # that's where the slots are set up
 | 
					        # that's where the slots are set up
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        @Slot(str)
 | 
					        @Slot(str, logging.LogRecord)
 | 
				
			||||||
        def update_status(self, status, record):
 | 
					        def update_status(self, status, record):
 | 
				
			||||||
            color = self.COLORS.get(record.levelno, 'black')
 | 
					            color = self.COLORS.get(record.levelno, 'black')
 | 
				
			||||||
            s = '<pre><font color="%s">%s</font></pre>' % (color, status)
 | 
					            s = '<pre><font color="%s">%s</font></pre>' % (color, status)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue