Skip to content
Permalink
Browse files

Get rid of the comment about getting rid of the qgseditorwidgetregistry

  • Loading branch information
m-kuhn committed Jul 7, 2017
1 parent e6de737 commit d28296f27f064bb851a2a107c2429d74d9fcc0f5
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/server/services/wms/qgswmsrenderer.cpp
@@ -2357,7 +2357,6 @@ namespace QgsWms

QString QgsRenderer::replaceValueMapAndRelation( QgsVectorLayer *vl, int idx, const QString &attributeVal )
{
// TODO Could we get rid of QgsEditorWidgetRegistry dependency ?
const QgsEditorWidgetSetup setup = vl->editorWidgetSetup( idx );
QgsFieldFormatter *fieldFormatter = QgsApplication::fieldFormatterRegistry()->fieldFormatter( setup.type() );
QString value( fieldFormatter->representValue( vl, idx, setup.config(), QVariant(), attributeVal ) );

0 comments on commit d28296f

Please sign in to comment.
You can’t perform that action at this time.