Skip to content

Commit

Permalink
Remove outcommented code
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/branches/table_join_branch@14108 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Aug 18, 2010
1 parent d603091 commit e249f60
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/core/qgsvectorlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4798,17 +4798,6 @@ void QgsVectorLayer::addJoin( QgsVectorJoinInfo joinInfo, bool cacheInMemory )
if( cacheInMemory )
{
cacheJoinLayer( mVectorJoins.last() );
/*QgsVectorLayer* cacheLayer = dynamic_cast<QgsVectorLayer*>(QgsMapLayerRegistry::instance()->mapLayer( joinInfo.joinLayerId ) );
if( cacheLayer )
{
cacheLayer->select( cacheLayer->pendingAllAttributesList(), QgsRectangle(), false, false );
QgsFeature f;
while( cacheLayer->nextFeature( f ) )
{
const QgsAttributeMap& map = f.attributeMap();
mVectorJoins.last().cachedAttributes.insert( map.value( joinInfo.joinField).toString(), map );
}
}*/
}

updateFieldMap();
Expand Down

0 comments on commit e249f60

Please sign in to comment.