summaryrefslogtreecommitdiff
blob: d7b17fe904bc3ce71ae7f51b7baf1e03932c3ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/common/pluginmanager.cpp b/common/pluginmanager.cpp
index 5354055..9a523d4 100644
--- a/common/pluginmanager.cpp
+++ b/common/pluginmanager.cpp
@@ -189,7 +189,11 @@ QString PluginManager::osDependentFileBaseName(const QString &plname)
 
 QString PluginManager::getBaseDirPath()
 {
-  QDir baseDir(qApp->applicationDirPath());
+  #if defined(Q_OS_LINUX)
+  	QDir baseDir("/usr/share/meshlab");
+  #else
+	QDir baseDir(qApp->applicationDirPath());
+  #endif
 
 #if defined(Q_OS_WIN)
   // Windows: