Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed a redundant call.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10962 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rugginoso committed Jun 19, 2009
1 parent 0283c5b commit 5996d17
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -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" );
}
}
Expand Down

0 comments on commit 5996d17

Please sign in to comment.