[Kst] branches/work/kst/portto4/kst/src

Peter Kümmel syntheticpp at gmx.net
Fri Dec 3 10:48:56 CET 2010


SVN commit 1203141 by kuemmel:

OS X: find all datasources and plugins, thx to Ted Kisner

 M  +5 -0      libkst/datasourcepluginmanager.cpp  
 M  +5 -0      libkstmath/dataobject.cpp  


--- branches/work/kst/portto4/kst/src/libkst/datasourcepluginmanager.cpp #1203140:1203141
@@ -133,6 +133,11 @@
   pluginPath += QLatin1String("kst");
   pluginPaths << pluginPath;
 
+  pluginPath = rootDir.canonicalPath();
+  pluginPath += QDir::separator();
+  pluginPath += QLatin1String("PlugIns");
+  pluginPaths << pluginPath;
+
   foreach (QString pluginPath, pluginPaths) {
     QDir d(pluginPath);
     foreach (QString fileName, d.entryList(QDir::Files)) {
--- branches/work/kst/portto4/kst/src/libkstmath/dataobject.cpp #1203140:1203141
@@ -194,6 +194,11 @@
   pluginPath += QLatin1String("kst");
   pluginPaths << pluginPath;
 
+  pluginPath = rootDir.canonicalPath();
+  pluginPath += QDir::separator();
+  pluginPath += QLatin1String("PlugIns");
+  pluginPaths << pluginPath;
+
   foreach (QString pluginPath, pluginPaths) {
     QDir d(pluginPath);
     foreach (QString fileName, d.entryList(QDir::Files)) {


More information about the Kst mailing list