Allow uppercase letters in ladspa file names

Per #1041

Tested against unfa-spoken.mmpz (uses dozens of LADSPA effects).
This commit is contained in:
Tres Finocchiaro
2014-07-30 10:53:47 -04:00
parent 35798119af
commit e1b1270695

View File

@@ -158,7 +158,7 @@ void LadspaSubPluginFeatures::listSubPluginKeys(
ladspa_key_t LadspaSubPluginFeatures::subPluginKeyToLadspaKey(
const Key * _key )
{
QString file = _key->attributes["file"].toLower();
QString file = _key->attributes["file"];
return( ladspa_key_t( file.remove( QRegExp( "\\.so$" ) ).
remove( QRegExp( "\\.dll$" ) ) +
#ifdef LMMS_BUILD_WIN32