File librecad-plugindir.diff of Package librecad

From: Jan Engelhardt <jengelh@inai.de>
Date: 2012-05-11 08:16:47.544680812 +0200

Look in the right spot for plugins.

---
 src/lib/engine/rs_system.cpp |    2 ++
 1 file changed, 2 insertions(+)

Index: LibreCAD-LibreCAD-a5c34b2/src/lib/engine/rs_system.cpp
===================================================================
--- LibreCAD-LibreCAD-a5c34b2.orig/src/lib/engine/rs_system.cpp
+++ LibreCAD-LibreCAD-a5c34b2/src/lib/engine/rs_system.cpp
@@ -548,6 +548,8 @@ QStringList RS_System::getDirectoryList(
     }
     RS_SETTINGS->endGroup();
 
+    dirList.append(CONFIG_LIBDIR "/" + appDirName + "/" + subDirectory);
+
     QStringList ret;
 
     RS_DEBUG->print("RS_System::getDirectoryList: Paths:");
openSUSE Build Service is sponsored by