Feature request #1896

Adjustment to the method of returning symbols

Added by Maxim Dubinin about 11 years ago. Updated about 11 years ago.

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.

symbols2.patch Magnifier (1.25 KB) Maxim Dubinin, 2009-08-25 05:26 PM

History

#1 Updated by Marco Hugentobler about 11 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Applied in d697d08a (SVN r11513). Thanks!

Also available in: Atom PDF