From: "Barak A. Pearlmutter" <barak+git@cs.nuim.ie>
Date: Mon, 4 Mar 2013 10:59:05 +0000
Subject: hardwire plugin directory

Set directory to scan for plugins subdirectory containing plugins to
system directory in which the plugins subdirectory is installed.
---
 MLDemos/algorithmmanager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MLDemos/algorithmmanager.cpp b/MLDemos/algorithmmanager.cpp
index c0d20e1..f7a9314 100644
--- a/MLDemos/algorithmmanager.cpp
+++ b/MLDemos/algorithmmanager.cpp
@@ -245,7 +245,7 @@ AlgorithmManager::~AlgorithmManager()
 void AlgorithmManager::LoadPlugins()
 {
     qDebug() << "Importing plugins";
-    QDir pluginsDir = QDir(qApp->applicationDirPath());
+    QDir pluginsDir = QDir("/usr/lib/mldemos");
     QStringList pluginFileNames;
     QDir alternativeDir = pluginsDir;
 
