Skip to content

Commit 7439db1

Browse files
committed
load default.qgc from source directory when running from build dir
1 parent 66a3d02 commit 7439db1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/providers/grass/qgsgrass.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -2297,12 +2297,11 @@ void QgsGrass::putEnv( QString name, QString value )
22972297

22982298
QString QgsGrass::modulesConfigDefaultDirPath()
22992299
{
2300-
#ifdef _MSC_VER
23012300
if ( QgsApplication::isRunningFromBuildDir() )
23022301
{
23032302
return QgsApplication::buildSourcePath() + "/src/plugins/grass/modules";
23042303
}
2305-
#endif
2304+
23062305
return QgsApplication::pkgDataPath() + "/grass/modules";
23072306
}
23082307

0 commit comments

Comments
 (0)