<p dir="ltr">Hi,</p>
<p dir="ltr">No it would not be the correct place. No gui stuff like that should live in core.</p>
<p dir="ltr">Consider it a bug for 2.14 and should be fixed</p>
<p dir="ltr">- Nathan </p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, 10 Feb 2016 1:43 am René-Luc Dhont <<a href="mailto:rldhont@gmail.com">rldhont@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dev,<br>
<br>
A new QGIS Server feature : showFeatureCount, uses the method<br>
QgsVectorLayer::countSymbolFeatures to display feature count in legend.<br>
But this feature doesn't work if a fake X server is not used.<br>
<br>
I discovered that the method QgsVectorLayer::countSymbolFeatures<br>
initialized a QDialogProgress. I wondered if this was the right place to<br>
initialize a dialog ?<br>
<br>
Regards,<br>
René-Luc D'Hont<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>