[Qgis-developer] Why QDialogProgress used in QgsVectorLayer::countSymbolFeatures ?

René-Luc Dhont rldhont at gmail.com
Tue Feb 9 07:42:48 PST 2016


Hi Dev,

A new QGIS Server feature : showFeatureCount, uses the method 
QgsVectorLayer::countSymbolFeatures to display feature count in legend. 
But this feature doesn't work if a fake X server is not used.

I discovered that the method QgsVectorLayer::countSymbolFeatures 
initialized a QDialogProgress. I wondered if this was the right place to 
initialize a dialog ?

Regards,
René-Luc D'Hont


More information about the Qgis-developer mailing list