Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 ebdb902
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/providers/grass/qgsgrass.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit ebdb902

Please sign in to comment.