Skip to content

Commit e249f60

Browse files
author
mhugent
committedAug 18, 2010
Remove outcommented code
git-svn-id: http://svn.osgeo.org/qgis/branches/table_join_branch@14108 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed
 

‎src/core/qgsvectorlayer.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4798,17 +4798,6 @@ void QgsVectorLayer::addJoin( QgsVectorJoinInfo joinInfo, bool cacheInMemory )
47984798
if( cacheInMemory )
47994799
{
48004800
cacheJoinLayer( mVectorJoins.last() );
4801-
/*QgsVectorLayer* cacheLayer = dynamic_cast<QgsVectorLayer*>(QgsMapLayerRegistry::instance()->mapLayer( joinInfo.joinLayerId ) );
4802-
if( cacheLayer )
4803-
{
4804-
cacheLayer->select( cacheLayer->pendingAllAttributesList(), QgsRectangle(), false, false );
4805-
QgsFeature f;
4806-
while( cacheLayer->nextFeature( f ) )
4807-
{
4808-
const QgsAttributeMap& map = f.attributeMap();
4809-
mVectorJoins.last().cachedAttributes.insert( map.value( joinInfo.joinField).toString(), map );
4810-
}
4811-
}*/
48124801
}
48134802

48144803
updateFieldMap();

0 commit comments

Comments
 (0)
Please sign in to comment.