diff plugin/LADSPAPluginFactory.cpp @ 980:6e6da0636e5e tonioni

Merge from default branch
author Chris Cannam
date Tue, 09 Sep 2014 16:36:21 +0100
parents 7aa9088e9bcd
children b14064bd1f97
line wrap: on
line diff
--- a/plugin/LADSPAPluginFactory.cpp	Tue Sep 02 16:23:48 2014 +0100
+++ b/plugin/LADSPAPluginFactory.cpp	Tue Sep 09 16:36:21 2014 +0100
@@ -730,8 +730,8 @@
 
 	QString category = m_taxonomy[identifier];
 	
-	if (category == "" && descriptor->Name != 0) {
-	    std::string name = descriptor->Name;
+	if (category == "") {
+	    std::string name = rtd->name;
 	    if (name.length() > 4 &&
 		name.substr(name.length() - 4) == " VST") {
 		category = "VST effects";