Skip to content
Permalink
Browse files
give better names to some methods
git-svn-id: http://svn.osgeo.org/qgis/trunk@9441 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 6, 2008
1 parent ade1226 commit 6b8d838ff3f41c971f8b41cec54cc28adc068298
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/plugins/grass/qgsgrassmodule.cpp
@@ -599,7 +599,7 @@ void QgsGrassModuleStandardOptions::freezeOutput()
int nlayers = mCanvas->layerCount();
for ( int i = 0; i < nlayers; i++ )
{
QgsMapLayer *layer = mCanvas->getZpos( i );
QgsMapLayer *layer = mCanvas->layer( i );

if ( layer->type() != QgsMapLayer::VECTOR ) continue;

@@ -671,7 +671,7 @@ void QgsGrassModuleStandardOptions::thawOutput()
int nlayers = mCanvas->layerCount();
for ( int i = 0; i < nlayers; i++ )
{
QgsMapLayer *layer = mCanvas->getZpos( i );
QgsMapLayer *layer = mCanvas->layer( i );

if ( layer->type() != QgsMapLayer::VECTOR ) continue;

@@ -2258,7 +2258,7 @@ void QgsGrassModuleInput::updateQgisLayers()
int nlayers = canvas->layerCount();
for ( int i = 0; i < nlayers; i++ )
{
QgsMapLayer *layer = canvas->getZpos( i );
QgsMapLayer *layer = canvas->layer( i );

QgsDebugMsg( "layer->type() = " + QString::number( layer->type() ) );

@@ -2671,7 +2671,7 @@ void QgsGrassModuleGdalInput::updateQgisLayers()
int nlayers = canvas->layerCount();
for ( int i = 0; i < nlayers; i++ )
{
QgsMapLayer *layer = canvas->getZpos( i );
QgsMapLayer *layer = canvas->layer( i );

if ( mType == Ogr && layer->type() == QgsMapLayer::VECTOR )
{

0 comments on commit 6b8d838

Please sign in to comment.