Commit a71770ce authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Solved bug that was preventing the default config to load.

parent 9159c83d
......@@ -202,6 +202,7 @@ void SettingsManager::loadDefaultsSettings()
{
if ( !SettingsManager::m_defaultLoaded )
{
SettingsManager::m_defaultLoaded = true;
VLMCSettingsDefault::load( "default" );
VLMCSettingsDefault::load( "VLMC" );
ProjectSettingsDefault::load( "default" );
......@@ -214,7 +215,6 @@ SettingsManager* SettingsManager::getInstance()
SettingsManager* ret = QSingleton<SettingsManager>::getInstance();
if ( !SettingsManager::m_defaultLoaded )
{
SettingsManager::m_defaultLoaded = true;
SettingsManager::loadDefaultsSettings();
}
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment