diff rdf/PluginRDFIndexer.cpp @ 477:e0784311a103

* Start thread to populate uninstalled transforms only on request (so runner doesn't have to have it)
author Chris Cannam
date Tue, 11 Nov 2008 09:41:45 +0000
parents acddcc3cca36
children 3ffce691c9bf
line wrap: on
line diff
--- a/rdf/PluginRDFIndexer.cpp	Fri Nov 07 20:25:57 2008 +0000
+++ b/rdf/PluginRDFIndexer.cpp	Tue Nov 11 09:41:45 2008 +0000
@@ -52,6 +52,17 @@
 
 PluginRDFIndexer::PluginRDFIndexer()
 {
+    indexInstalledURLs();
+}
+
+PluginRDFIndexer::~PluginRDFIndexer()
+{
+    QMutexLocker locker(&m_mutex);
+}
+
+void
+PluginRDFIndexer::indexInstalledURLs()
+{
     vector<string> paths = PluginHostAdapter::getPluginPath();
 
     QStringList filters;
@@ -98,11 +109,6 @@
     }
 }
 
-PluginRDFIndexer::~PluginRDFIndexer()
-{
-    QMutexLocker locker(&m_mutex);
-}
-
 bool
 PluginRDFIndexer::indexConfiguredURLs()
 {