mirror of
https://github.com/LMMS/lmms.git
synced 2026-04-29 10:26:18 -04:00
Added user Vst and ladspa folders
the user vst folder nowbecome the default vstfolder. this is configurable in the setup dialog. The user ladspa folder is added to the list of folder to search
This commit is contained in:
@@ -384,7 +384,7 @@ void ConfigManager::loadConfigFile()
|
||||
m_vstDir = windowsConfigPath( CSIDL_PROGRAM_FILES ) +
|
||||
QDir::separator() + "VstPlugins";
|
||||
#else
|
||||
m_vstDir = ensureTrailingSlash( QDir::home().absolutePath() );
|
||||
m_vstDir = m_workingDir + "plugins/vst" + QDir::separator();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -403,6 +403,7 @@ void ConfigManager::loadConfigFile()
|
||||
#else
|
||||
m_ladDir = qApp->applicationDirPath() + '/' + LIB_DIR + "/ladspa/";
|
||||
#endif
|
||||
m_ladDir += ","+userLadspaDir();
|
||||
}
|
||||
|
||||
#ifdef LMMS_HAVE_STK
|
||||
@@ -441,7 +442,10 @@ void ConfigManager::loadConfigFile()
|
||||
QDir().mkpath( userSamplesDir() );
|
||||
QDir().mkpath( userPresetsDir() );
|
||||
QDir().mkpath( userGigDir() );
|
||||
QDir().mkpath( sf2Dir() );
|
||||
QDir().mkpath( userSf2Dir() );
|
||||
QDir().mkpath( vstDir() );
|
||||
QDir().mkpath( userLadspaDir() );
|
||||
|
||||
}
|
||||
|
||||
upgrade();
|
||||
|
||||
Reference in New Issue
Block a user