ConfigManager: Move plugin:ladspa init to LadspaManager
This commit is contained in:
@@ -448,8 +448,7 @@ void ConfigManager::loadConfigFile()
|
||||
|
||||
if( m_ladDir.isEmpty() )
|
||||
{
|
||||
m_ladDir = "plugins:ladspa/";
|
||||
m_ladDir = ","+userLadspaDir();
|
||||
m_ladDir = userLadspaDir();
|
||||
}
|
||||
|
||||
#ifdef LMMS_HAVE_STK
|
||||
|
||||
@@ -47,6 +47,7 @@ LadspaManager::LadspaManager()
|
||||
split( LADSPA_PATH_SEPERATOR );
|
||||
ladspaDirectories += ConfigManager::inst()->ladspaDir().split( ',' );
|
||||
|
||||
ladspaDirectories.push_back( "plugins:ladspa" );
|
||||
#ifndef LMMS_BUILD_WIN32
|
||||
ladspaDirectories.push_back( qApp->applicationDirPath() + '/' + LIB_DIR + "ladspa" );
|
||||
ladspaDirectories.push_back( "/usr/lib/ladspa" );
|
||||
|
||||
Reference in New Issue
Block a user