Skip to content

Commit

Permalink
load default.qgc from source directory when running from build dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 26, 2015
1 parent 66a3d02 commit 7439db1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/providers/grass/qgsgrass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}

Expand Down

0 comments on commit 7439db1

Please sign in to comment.