mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:22:43 +00:00 
			
		
		
		
	LibGUI: Use dbg() instead of dbgprintf() in GUI::Dialog
This commit is contained in:
		
							parent
							
								
									ff8d250cbc
								
							
						
					
					
						commit
						6d078a9ec3
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -56,7 +56,7 @@ int Dialog::exec() | |||
|     show(); | ||||
|     auto result = m_event_loop->exec(); | ||||
|     m_event_loop = nullptr; | ||||
|     dbgprintf("%s: event loop returned with result %d\n", class_name(), result); | ||||
|     dbg() << *this << ": Event loop returned with result " << result; | ||||
|     remove_from_parent(); | ||||
|     return result; | ||||
| } | ||||
|  | @ -66,7 +66,7 @@ void Dialog::done(int result) | |||
|     if (!m_event_loop) | ||||
|         return; | ||||
|     m_result = result; | ||||
|     dbgprintf("%s: quit event loop with result %d\n", class_name(), result); | ||||
|     dbg() << *this << ": Quit event loop with result " << result; | ||||
|     m_event_loop->quit(result); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling