[QGIS Commit] r14108 - branches/table_join_branch/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Aug 18 16:47:46 EDT 2010


Author: mhugent
Date: 2010-08-18 20:47:46 +0000 (Wed, 18 Aug 2010)
New Revision: 14108

Modified:
   branches/table_join_branch/src/core/qgsvectorlayer.cpp
Log:
Remove outcommented code

Modified: branches/table_join_branch/src/core/qgsvectorlayer.cpp
===================================================================
--- branches/table_join_branch/src/core/qgsvectorlayer.cpp	2010-08-18 20:31:17 UTC (rev 14107)
+++ branches/table_join_branch/src/core/qgsvectorlayer.cpp	2010-08-18 20:47:46 UTC (rev 14108)
@@ -4798,17 +4798,6 @@
   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();



More information about the QGIS-commit mailing list