You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/meshlab/files/2016.12/0001-update-1.3.3-pluginman...

30 lines
871 B

From 6310a419f2a0e0f11f59a60fee850a1b64c2f41e Mon Sep 17 00:00:00 2001
From: Sobhan Mohammadpour <www.sobhan.mohammadpour@gmail.com>
Date: Fri, 24 Nov 2017 17:47:43 +0330
Subject: [PATCH] update 1.3.3/pluginmanager.patch
---
common/pluginmanager.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/common/pluginmanager.cpp b/common/pluginmanager.cpp
index 5354055..551e73f 100644
--- a/common/pluginmanager.cpp
+++ b/common/pluginmanager.cpp
@@ -189,8 +189,11 @@ QString PluginManager::osDependentFileBaseName(const QString &plname)
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:
// during development with visual studio binary could be in the debug/release subdir.
--
2.15.0