mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Merge pull request #1948 from lioncash/translatable
configure_per_general: Mark UI strings as translatable in the constructor
This commit is contained in:
		
						commit
						17fa0ffff9
					
				@ -47,8 +47,8 @@ ConfigurePerGameGeneral::ConfigurePerGameGeneral(QWidget* parent, u64 title_id)
 | 
				
			|||||||
    tree_view->setContextMenuPolicy(Qt::NoContextMenu);
 | 
					    tree_view->setContextMenuPolicy(Qt::NoContextMenu);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    item_model->insertColumns(0, 2);
 | 
					    item_model->insertColumns(0, 2);
 | 
				
			||||||
    item_model->setHeaderData(0, Qt::Horizontal, "Patch Name");
 | 
					    item_model->setHeaderData(0, Qt::Horizontal, tr("Patch Name"));
 | 
				
			||||||
    item_model->setHeaderData(1, Qt::Horizontal, "Version");
 | 
					    item_model->setHeaderData(1, Qt::Horizontal, tr("Version"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // We must register all custom types with the Qt Automoc system so that we are able to use it
 | 
					    // We must register all custom types with the Qt Automoc system so that we are able to use it
 | 
				
			||||||
    // with signals/slots. In this case, QList falls under the umbrells of custom types.
 | 
					    // with signals/slots. In this case, QList falls under the umbrells of custom types.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user