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

Nathan Woodrow madmanwoo at gmail.com
Tue Feb 9 12:57:31 PST 2016


Hi,

No it would not be the correct place. No gui stuff like that should live in
core.

Consider it a bug for 2.14 and should be fixed

- Nathan

On Wed, 10 Feb 2016 1:43 am René-Luc Dhont <rldhont at gmail.com> wrote:

> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160209/661b64aa/attachment.html>


More information about the Qgis-developer mailing list