Skip to content
Permalink
Browse files
comment G_is_mapset
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5496 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed May 29, 2006
1 parent d41fffa commit ebdb902e343d05e348d6b594dad34ffd180ab64b
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/providers/grass/qgsgrass.cpp
@@ -928,15 +928,17 @@ bool QgsGrass::isMapset ( QString path )
{
/* TODO: G_is_mapset() was added to GRASS 6.1 06-05-24,
enable its use after some period (others do update) */
/*
if ( QgsGrass::versionMajor() > 6 || QgsGrass::versionMinor() > 0 )
{
if ( G_is_mapset( path.toLocal8Bit().constData() ) ) return true;
}
else
{
*/
QString windf = path + "/WIND";
if ( QFile::exists ( windf ) ) return true;
}
//}

return false;
}

0 comments on commit ebdb902

Please sign in to comment.