Advertisement
cmsigler

[AUR] [meshlab-git] plugin_dir.patch

Mar 17th, 2018
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. --- src/meshlab/src/common/pluginmanager.cpp.orig 2018-03-17 10:44:48.279052630 -0400
  2. +++ src/meshlab/src/common/pluginmanager.cpp 2018-03-17 10:50:22.686360141 -0400
  3. @@ -231,7 +231,7 @@
  4.  
  5. QString PluginManager::getBaseDirPath()
  6. {
  7. - QDir baseDir(qApp->applicationDirPath());
  8. + QDir baseDir("/usr/share/meshlab");
  9.  
  10. #if defined(Q_OS_WIN)
  11. // Windows:
  12. @@ -253,7 +253,7 @@
  13.  
  14. QString PluginManager::getDefaultPluginDirPath()
  15. {
  16. - QDir pluginsDir(getBaseDirPath());
  17. + QDir pluginsDir("/usr/lib/meshlab");
  18. if (!pluginsDir.exists("plugins"))
  19. //QMessageBox::warning(0,"Meshlab Initialization","Serious error. Unable to find the plugins directory.");
  20. qDebug("Meshlab Initialization: Serious error. Unable to find the plugins directory.");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement