Skip to content

Commit a9f82d1

Browse files
committedNov 17, 2011
fix #4465 to make the GRASS plugin working with GRASS 6.4.2RC2
1 parent 0a17ad5 commit a9f82d1

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
@@ -2648,13 +2648,13 @@ QStringList QgsGrassModuleInput::options()
26482648
}
26492649
}
26502650

2651-
if ( !mGeometryTypeOption.isNull() && current < mGeometryTypes.size() )
2651+
if ( !mGeometryTypeOption.isEmpty() && current < mGeometryTypes.size() )
26522652
{
26532653
opt = mGeometryTypeOption + "=" + mGeometryTypes[current] ;
26542654
list.push_back( opt );
26552655
}
26562656

2657-
if ( !mVectorLayerOption.isNull() && current < mVectorLayerNames.size() )
2657+
if ( !mVectorLayerOption.isEmpty() && current < mVectorLayerNames.size() )
26582658
{
26592659
opt = mVectorLayerOption + "=" + mVectorLayerNames[current] ;
26602660
list.push_back( opt );

0 commit comments

Comments
 (0)
Please sign in to comment.