Change the location of the default template directory

Changed the location from lmms/projects/templates to
lmms/templates. This new location is used for loading and saving
of the default tempate default.mpt
This commit is contained in:
Dave French
2015-03-02 19:19:42 +00:00
parent 7335b98fdb
commit 345e05831d
4 changed files with 13 additions and 7 deletions

View File

@@ -423,7 +423,7 @@ void ConfigManager::loadConfigFile()
if( QDir( m_workingDir ).exists() )
{
QDir().mkpath( userProjectsDir() );
QDir().mkpath( userProjectsDir() + TEMPLATE_PATH );
QDir().mkpath( userTemplateDir() );
QDir().mkpath( userSamplesDir() );
QDir().mkpath( userPresetsDir() );
}