Skip to content
Permalink
Browse files

Fixed a redundant call.

git-svn-id: http://svn.osgeo.org/qgis/trunk@10962 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rugginoso
rugginoso committed Jun 19, 2009
1 parent 0283c5b commit 5996d170a172c002008dc8d0be9857eacced2993
Showing with 2 additions and 6 deletions.
  1. +2 −6 src/plugins/grass/qgsgrassmodule.cpp
@@ -1499,13 +1499,9 @@ void QgsGrassModule::viewOutput()
if ( onlyLayer1 && layers[j].left( 1 ) != "1" )
continue;

QStringList split = uri.split( '/', QString::SkipEmptyParts );
QString layer = split.last();

QString name = QgsGrassUtils::vectorLayerName(
map, layer, 1 );

// TODO vector layer name
map, layers[j], 1 );

mIface->addVectorLayer( uri, name, "grass" );
}
}

0 comments on commit 5996d17

Please sign in to comment.
You can’t perform that action at this time.