diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
commit | ccf84bcd604130256d1377cd58f0a634ae6ee20f (patch) | |
tree | f42a709e0c7805183f5680883bc76dc935b7a0cc /media-gfx/meshlab/files/2016.12/meshlab-2016.12-fix-plugins-path.patch | |
parent | c85a90f90521c7e11d618b527d6630cc64cecbd4 (diff) |
gentoo resync : 28.12.2017
Diffstat (limited to 'media-gfx/meshlab/files/2016.12/meshlab-2016.12-fix-plugins-path.patch')
-rw-r--r-- | media-gfx/meshlab/files/2016.12/meshlab-2016.12-fix-plugins-path.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-fix-plugins-path.patch b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-fix-plugins-path.patch new file mode 100644 index 000000000000..d7b17fe904bc --- /dev/null +++ b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-fix-plugins-path.patch @@ -0,0 +1,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: |