[QGIS-trac] [Quantum GIS] #1896: Adjustment to the method of returning symbols

Quantum GIS qgis at qgis.org
Tue Aug 25 20:26:43 EDT 2009


#1896: Adjustment to the method of returning symbols
---------------------------------------------------------+------------------
   Reporter:  gislab                                     |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.3.0
  Component:  Symbology                                  |            Version:  HEAD         
   Keywords:                                             |   Platform_version:               
   Platform:  All                                        |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 To return list of symbols in the method QgsUniqueValueRenderer::symbols()
 it is cycling through (QMap<QString, QgsSymbol*> mSymbols). This patch
 makes list return using method QMap::values() (inline). This is also much
 faster.

 Courtesy Jack, translated by Maxim Dubinin, please review before applying.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1896>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list