save LADSPA effect filenames without extension and add correct one (depending on platform built for) when loading settings - fixes missing effects when loading songs in Windows which were made in Linux and vice versa
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1561 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -75,7 +75,9 @@ inline plugin::descriptor::subPluginFeatures::key ladspaKeyToSubPluginKey(
|
||||
const ladspa_key_t & _key )
|
||||
{
|
||||
plugin::descriptor::subPluginFeatures::key::attributeMap m;
|
||||
m["file"] = _key.first;
|
||||
QString file = _key.first;
|
||||
m["file"] = file.remove( QRegExp( "\\.so$" ) ).
|
||||
remove( QRegExp( "\\.dll$" ) );
|
||||
m["plugin"] = _key.second;
|
||||
return( plugin::descriptor::subPluginFeatures::key( _desc, _name,
|
||||
m ) );
|
||||
|
||||
Reference in New Issue
Block a user