mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Set object name for the graphics debugger
Setting an object name for GPUCommandStreamWidget allows for saving the graphics debugger's state (if it's show, position, etc). This state is then restored when restarting the application.
This commit is contained in:
		
							parent
							
								
									08b6cf778d
								
							
						
					
					
						commit
						a35e3a8632
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -72,7 +72,7 @@ void GPUCommandStreamItemModel::OnGXCommandFinishedInternal(int total_command_co | ||||||
| 
 | 
 | ||||||
| GPUCommandStreamWidget::GPUCommandStreamWidget(QWidget* parent) : QDockWidget(tr("Graphics Debugger"), parent) | GPUCommandStreamWidget::GPUCommandStreamWidget(QWidget* parent) : QDockWidget(tr("Graphics Debugger"), parent) | ||||||
| { | { | ||||||
|     // TODO: set objectName!
 |     setObjectName("GraphicsDebugger"); | ||||||
| 
 | 
 | ||||||
|     GPUCommandStreamItemModel* command_model = new GPUCommandStreamItemModel(this); |     GPUCommandStreamItemModel* command_model = new GPUCommandStreamItemModel(this); | ||||||
|     g_debugger.RegisterObserver(command_model); |     g_debugger.RegisterObserver(command_model); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue