Feature request #1896
Adjustment to the method of returning symbols
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | nobody - | ||
Category: | Symbology | ||
Pull Request or Patch supplied: | Resolution: | fixed | |
Easy fix?: | No | Copied to github as #: | 11956 |
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.
History
#1 Updated by Marco Hugentobler over 15 years ago
- Resolution set to fixed
- Status changed from Open to Closed
Applied in d697d08a (SVN r11513). Thanks!