mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Merge pull request #3928 from zhaowenlan1779/log-settings
citra_qt: Log settings on launch
This commit is contained in:
		
						commit
						7babd78a23
					
				
					 5 changed files with 45 additions and 0 deletions
				
			
		|  | @ -28,6 +28,7 @@ void ConfigureDialog::applyConfiguration() { | |||
|     ui->debugTab->applyConfiguration(); | ||||
|     ui->webTab->applyConfiguration(); | ||||
|     Settings::Apply(); | ||||
|     Settings::LogSettings(); | ||||
| } | ||||
| 
 | ||||
| void ConfigureDialog::onLanguageChanged(const QString& locale) { | ||||
|  |  | |||
|  | @ -1480,6 +1480,7 @@ int main(int argc, char* argv[]) { | |||
|     FileUtil::CreateFullPath(FileUtil::GetUserPath(D_LOGS_IDX)); | ||||
|     Log::AddBackend( | ||||
|         std::make_unique<Log::FileBackend>(FileUtil::GetUserPath(D_LOGS_IDX) + LOG_FILE)); | ||||
|     Settings::LogSettings(); | ||||
| 
 | ||||
|     // Register CameraFactory
 | ||||
|     Camera::RegisterFactory("image", std::make_unique<Camera::StillImageCameraFactory>()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue