Opened 15 years ago
Closed 15 years ago
#1896 closed patch (fixed)
Adjustment to the method of returning symbols
Reported by: | gislab | Owned by: | nobody |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | Version 1.3.0 |
Component: | Symbology | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
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.
Attachments (1)
Change History (4)
by , 15 years ago
Attachment: | symbols2.patch added |
---|
comment:1 by , 15 years ago
Priority: | critical: causes crash or data corruption → minor: annoyance |
---|
comment:2 by , 15 years ago
Type: | bug → patch |
---|
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Applied in r11512. Thanks!