Skip to content

Commit 3b96100

Browse files
brushtyleralexbruy
authored andcommittedFeb 16, 2012
fix #4465 to make the GRASS plugin working with GRASS 6.4.2RC2
1 parent 7da2ef4 commit 3b96100

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/plugins/grass/qgsgrassmodule.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2589,13 +2589,13 @@ QStringList QgsGrassModuleInput::options()
25892589
}
25902590
}
25912591

2592-
if ( !mGeometryTypeOption.isNull() && current < mGeometryTypes.size() )
2592+
if ( !mGeometryTypeOption.isEmpty() && current < mGeometryTypes.size() )
25932593
{
25942594
opt = mGeometryTypeOption + "=" + mGeometryTypes[current] ;
25952595
list.push_back( opt );
25962596
}
25972597

2598-
if ( !mVectorLayerOption.isNull() && current < mVectorLayerNames.size() )
2598+
if ( !mVectorLayerOption.isEmpty() && current < mVectorLayerNames.size() )
25992599
{
26002600
opt = mVectorLayerOption + "=" + mVectorLayerNames[current] ;
26012601
list.push_back( opt );

0 commit comments

Comments
 (0)
Please sign in to comment.