qgis/Quantum-GIS — pull request #351 by strk (2012-12-11 10:08:53+00:00)
Title: Add an identifier member to QgsLegendGroup object

The identifier is currently assigned sequencially, using a static
class member to keep track of next available id. The same ID is
then used to identify a group in the legend whenever it is needed
to address it (remove group, move layer in group etc.).

Fixes #6591

I'm sending a pull request rather than pushing directly to gather feedback.