Config manager. added a userVstDir function

Added a userVstDir function for consistancy
use the userVstDir() function to create new folder
This commit is contained in:
Dave French
2015-03-30 18:59:54 +01:00
parent 9516b7cf0e
commit 54ddfd3a2b
2 changed files with 6 additions and 1 deletions

View File

@@ -104,6 +104,11 @@ public:
return workingDir() + LADSPA_PATH;
}
QString userVstDir() const
{
return m_vstDir;
}
QString factoryProjectsDir() const
{
return dataDir() + PROJECTS_PATH;

View File

@@ -443,7 +443,7 @@ void ConfigManager::loadConfigFile()
QDir().mkpath( userPresetsDir() );
QDir().mkpath( userGigDir() );
QDir().mkpath( userSf2Dir() );
QDir().mkpath( vstDir() );
QDir().mkpath( userVstDir() );
QDir().mkpath( userLadspaDir() );
}