diff plugin/LADSPAPluginFactory.cpp @ 1246:75aefcc9f07d piper

Use plugin scan results to inform the list requests issued to Piper servers
author Chris Cannam
date Thu, 03 Nov 2016 14:14:09 +0000
parents 6b847a59d908
children 48e9f538e6e9
line wrap: on
line diff
--- a/plugin/LADSPAPluginFactory.cpp	Tue Nov 01 16:02:15 2016 +0000
+++ b/plugin/LADSPAPluginFactory.cpp	Thu Nov 03 14:14:09 2016 +0000
@@ -668,11 +668,11 @@
 
     generateFallbackCategories();
 
-    QStringList candidates =
+    auto candidates =
         PluginScan::getInstance()->getCandidateLibrariesFor(getPluginType());
 
-    for (QString c: candidates) {
-        discoverPluginsFrom(c);
+    for (auto c: candidates) {
+        discoverPluginsFrom(c.libraryPath);
     }
 }