changeset 1825:bc3e56ef251b plugin-path-config

More work on plugin path config
author Chris Cannam
date Wed, 23 May 2018 11:52:40 +0100
parents 9a1e9d8d7bf0
children b03652cd338f
files main/PreferencesDialog.cpp repoint-lock.json
diffstat 2 files changed, 4 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/main/PreferencesDialog.cpp	Mon May 21 16:16:31 2018 +0100
+++ b/main/PreferencesDialog.cpp	Wed May 23 11:52:40 2018 +0100
@@ -581,31 +581,22 @@
 
     // Plugins tab
 
-    frame = new QFrame;
-    subgrid = new QGridLayout;
-    frame->setLayout(subgrid);
-    row = 0;
-
     PluginPathConfigurator *pathConfig = new PluginPathConfigurator(this);
     QStringList path;
     path << "/usr/lib/vamp";
     path << "/usr/local/lib/vamp";
     path << "/home/user/.vamp";
     PluginPathConfigurator::Paths paths;
-    paths["Vamp"] = { path, "VAMP_PATH" };
+    paths["Vamp"] = { path, "VAMP_PATH", true };
     path.clear();
     path << "/usr/lib/ladspa";
     path << "/usr/local/lib/ladspa";
     path << "/home/user/.ladspa";
-    paths["LADSPA"] = { path, "LADSPA_PATH" };
+    paths["LADSPA"] = { path, "LADSPA_PATH", true };
     pathConfig->setPaths(paths);
     
-    subgrid->addWidget(pathConfig, row++, 0, 1, 2);
-
-    subgrid->setRowStretch(row, 10);
-
     m_tabOrdering[PluginTab] = m_tabs->count();
-    m_tabs->addTab(frame, tr("&Plugins"));
+    m_tabs->addTab(pathConfig, tr("&Plugins"));
     
     // General tab
 
--- a/repoint-lock.json	Mon May 21 16:16:31 2018 +0100
+++ b/repoint-lock.json	Wed May 23 11:52:40 2018 +0100
@@ -7,7 +7,7 @@
       "pin": "7d9b537b6a1e"
     },
     "svgui": {
-      "pin": "ed04d3666d33"
+      "pin": "050eca637c19"
     },
     "svapp": {
       "pin": "7da68349a0c5"