diff main/MainWindow.cpp @ 1145:52cbb3f6b9fa pluginscan

Make use of, and warn for, the plugin checker for all types of plugin. Haven't yet resolved the question of how to install and find it.
author Chris Cannam
date Thu, 14 Apr 2016 14:03:18 +0100
parents 6fcb632384ba
children b3b5885e7c2c
line wrap: on
line diff
--- a/main/MainWindow.cpp	Thu Apr 14 12:12:04 2016 +0100
+++ b/main/MainWindow.cpp	Thu Apr 14 14:03:18 2016 +0100
@@ -69,6 +69,7 @@
 #include "data/fileio/FileSource.h"
 #include "data/midi/MIDIInput.h"
 #include "base/RecentFiles.h"
+#include "plugin/PluginScan.h"
 #include "transform/TransformFactory.h"
 #include "transform/ModelTransformerFactory.h"
 #include "base/PlayParameterRepository.h"
@@ -330,7 +331,7 @@
         m_versionTester = 0;
     }
 
-    QString warning = TransformFactory::getInstance()->getPluginPopulationWarning();
+    QString warning = PluginScan::getInstance()->getStartupFailureReport();
     if (warning != "") pluginPopulationWarning(warning);
 }