We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 0d652b2 commit dfdb420Copy full SHA for dfdb420
src/providers/grass/qgsgrass.cpp
@@ -1991,7 +1991,11 @@ QString QgsGrass::findModule( QString module )
1991
{
1992
Q_FOREACH ( const QString& path, paths )
1993
1994
- QString full = path + "/" + module + ext;
+ QString full = module + ext;;
1995
+ if ( !path.isEmpty() )
1996
+ {
1997
+ full.prepend( path + "/" );
1998
+ }
1999
if ( QFile::exists( full ) )
2000
2001
QgsDebugMsg( "found " + full );
0 commit comments