Bug report #14272
Feature request #6237: Show feature count in composer legend
QDialogProgress used in QgsVectorLayer::countSymbolFeatures
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Vectors | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | Yes | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22266 |
Description
Folliwing the vector feature counts moved to vector layer commit 038acbc76083dae3fd29795b9e73d97cd92c3d3a fixes #6237, QDialogProcess is used in QgsVectorLayer::countSymbolFeatures. But no GUI tools has to be hardcoded in core.
QgsVectorLayer::countSymbolFeatures has a parameter showProgress with defaut value to True.
The method countSymbolFeatures is used in QgsLegendModel and QgsMapLayerLegend without parameter.
History
#1 Updated by René-Luc ReLuc over 8 years ago
To fix it, it's probably possible to simply remove the use of QDialogProgress. Any thoughts ?
#2 Updated by René-Luc ReLuc over 8 years ago
- Pull Request or Patch supplied changed from No to Yes
Pull Request opened https://github.com/qgis/QGIS/pull/2780
#3 Updated by Giovanni Manghi over 8 years ago
- Priority changed from High to Normal
#4 Updated by Giovanni Manghi over 7 years ago
- Regression? set to No
- Easy fix? set to No
#5 Updated by Nyall Dawson almost 6 years ago
- Resolution set to fixed/implemented
- Description updated (diff)
- Status changed from Open to Closed
Not an issue in 3.x