Skip to content

Commit 97a72e4

Browse files
author
rblazek
committedMay 29, 2006
comment G_is_mapset
git-svn-id: http://svn.osgeo.org/qgis/trunk@5496 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 3796004 commit 97a72e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/providers/grass/qgsgrass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,15 +928,17 @@ bool QgsGrass::isMapset ( QString path )
928928
{
929929
/* TODO: G_is_mapset() was added to GRASS 6.1 06-05-24,
930930
enable its use after some period (others do update) */
931+
/*
931932
if ( QgsGrass::versionMajor() > 6 || QgsGrass::versionMinor() > 0 )
932933
{
933934
if ( G_is_mapset( path.toLocal8Bit().constData() ) ) return true;
934935
}
935936
else
936937
{
938+
*/
937939
QString windf = path + "/WIND";
938940
if ( QFile::exists ( windf ) ) return true;
939-
}
941+
//}
940942

941943
return false;
942944
}

0 commit comments

Comments
 (0)
Please sign in to comment.