Mercurial > hg > sonic-visualiser
diff main/main.cpp @ 1283:ca5dcee081ef project-file-rework
Merge from branch piper
author | Chris Cannam |
---|---|
date | Tue, 25 Oct 2016 11:06:00 +0100 |
parents | 7293bc5ee7f8 |
children | e93ad534c1cb |
line wrap: on
line diff
--- a/main/main.cpp Mon Oct 24 17:54:50 2016 +0100 +++ b/main/main.cpp Tue Oct 25 11:06:00 2016 +0100 @@ -277,6 +277,14 @@ QSettings settings; settings.beginGroup("Preferences"); + // Default to using Piper server; can change in preferences + if (!settings.contains("run-vamp-plugins-in-process")) { + cerr << "setting does not exist yet" << endl; + settings.setValue("run-vamp-plugins-in-process", false); + } + settings.endGroup(); + + settings.beginGroup("Preferences"); if (settings.value("show-splash", true).toBool()) { splash = new SVSplash(); splash->show(); @@ -348,11 +356,11 @@ << ", trying in my own directory" << endl; helperPath = myDir + "/plugin-checker-helper"; } - helperPath += helperSuffix; if (!QFile(helperPath + helperSuffix).exists()) { cerr << "NOTE: helper not found at " << (helperPath + helperSuffix) << endl; } + helperPath += helperSuffix; PluginScan::getInstance()->scan(helperPath); // Permit size_t and PropertyName to be used as args in queued signal calls