Skip to content

Commit 2061da4

Browse files
author
rugginoso
committed
Fixed a redundant call.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10962 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent abf7b0a commit 2061da4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/plugins/grass/qgsgrassmodule.cpp

+2-6
Original file line numberDiff line numberDiff line change
@@ -1499,13 +1499,9 @@ void QgsGrassModule::viewOutput()
14991499
if ( onlyLayer1 && layers[j].left( 1 ) != "1" )
15001500
continue;
15011501

1502-
QStringList split = uri.split( '/', QString::SkipEmptyParts );
1503-
QString layer = split.last();
1504-
15051502
QString name = QgsGrassUtils::vectorLayerName(
1506-
map, layer, 1 );
1507-
1508-
// TODO vector layer name
1503+
map, layers[j], 1 );
1504+
15091505
mIface->addVectorLayer( uri, name, "grass" );
15101506
}
15111507
}

0 commit comments

Comments
 (0)