Added an explanation for using wxFileConfig in GetNewConfig()
This commit is contained in:
parent
e919ded35f
commit
ad07b4a251
|
@ -254,6 +254,7 @@ std::unique_ptr<wxConfigBase> GetNewConfig( const wxString& aProgName )
|
||||||
configname.AssignDir( GetKicadConfigPath() );
|
configname.AssignDir( GetKicadConfigPath() );
|
||||||
configname.SetFullName( aProgName );
|
configname.SetFullName( aProgName );
|
||||||
|
|
||||||
|
// explicitly use wxFileConfig to prevent storing any settings in the system registry on Windows
|
||||||
return std::make_unique<wxFileConfig>( wxT( "" ), wxT( "" ), configname.GetFullPath() );
|
return std::make_unique<wxFileConfig>( wxT( "" ), wxT( "" ), configname.GetFullPath() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue