Fix schema version for APP_SETTINGS_BASE derivatives
This commit is contained in:
parent
7911bc431a
commit
c0a345882e
|
@ -32,14 +32,13 @@ const int appSettingsSchemaVersion = 0;
|
||||||
|
|
||||||
|
|
||||||
APP_SETTINGS_BASE::APP_SETTINGS_BASE( std::string aFilename, int aSchemaVersion ) :
|
APP_SETTINGS_BASE::APP_SETTINGS_BASE( std::string aFilename, int aSchemaVersion ) :
|
||||||
JSON_SETTINGS( std::move( aFilename ), SETTINGS_LOC::USER, appSettingsSchemaVersion ),
|
JSON_SETTINGS( std::move( aFilename ), SETTINGS_LOC::USER, aSchemaVersion ),
|
||||||
m_Printing(), m_System(), m_Window(), m_appSettingsSchemaVersion( aSchemaVersion )
|
m_Printing(), m_System(), m_Window(), m_appSettingsSchemaVersion( aSchemaVersion )
|
||||||
{
|
{
|
||||||
// Make Coverity happy:
|
// Make Coverity happy:
|
||||||
m_LibTree.column_width = 360;
|
m_LibTree.column_width = 360;
|
||||||
m_Graphics.canvas_type = EDA_DRAW_PANEL_GAL::GAL_TYPE_CAIRO;
|
m_Graphics.canvas_type = EDA_DRAW_PANEL_GAL::GAL_TYPE_CAIRO;
|
||||||
|
|
||||||
|
|
||||||
// Build parameters list:
|
// Build parameters list:
|
||||||
m_params.emplace_back( new PARAM<int>( "find_replace.flags", &m_FindReplace.flags, 1 ) );
|
m_params.emplace_back( new PARAM<int>( "find_replace.flags", &m_FindReplace.flags, 1 ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue