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

Don't try to load an old config file.

parent 273d6142
......@@ -198,10 +198,15 @@ MainWindow::initVlmcPreferences()
SettingsManager::Vlmc );
//Load saved preferences :
loadVlmcPreferences( "keyboard" );
loadVlmcPreferences( "general" );
QSettings s;
if ( s.value( "VlmcVersion" ).toString() != PROJECT_VERSION )
s.clear();
else
{
loadVlmcPreferences( "keyboard" );
loadVlmcPreferences( "general" );
}
s.setValue( "VlmcVersion", PROJECT_VERSION );
}
void
......
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