summaryrefslogtreecommitdiff
path: root/media-gfx/meshlab/files/1.3.3/pluginmanager.patch
blob: 853015da4d06e1624bece34a2eede0ba47efa865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/meshlab/src/common/pluginmanager.cpp	2014-04-01 17:07:40.000000000 +0200
+++ b/meshlab/src/common/pluginmanager.cpp	2015-11-15 20:58:53.708227793 +0100
@@ -178,7 +178,11 @@
 
 QString PluginManager::getBaseDirPath()
 {
+#if defined(Q_OS_LINUX)
+  QDir baseDir("/usr/lib/meshlab");
+#else
   QDir baseDir(qApp->applicationDirPath());
+#endif
 
 #if defined(Q_OS_WIN)
   // Windows: