Skip to content
Permalink
Browse files

load default.qgc from source directory when running from build dir

  • Loading branch information
jef-n committed Jul 26, 2015
1 parent 66a3d02 commit 7439db1e66f21b8c2c17f73df8d39d64d37dab96
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/providers/grass/qgsgrass.cpp
@@ -2297,12 +2297,11 @@ void QgsGrass::putEnv( QString name, QString value )

QString QgsGrass::modulesConfigDefaultDirPath()
{
#ifdef _MSC_VER
if ( QgsApplication::isRunningFromBuildDir() )
{
return QgsApplication::buildSourcePath() + "/src/plugins/grass/modules";
}
#endif

return QgsApplication::pkgDataPath() + "/grass/modules";
}

0 comments on commit 7439db1

Please sign in to comment.
You can’t perform that action at this time.