Skip to content

Commit

Permalink
Get rid of the comment about getting rid of the qgseditorwidgetregistry
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 7, 2017
1 parent e6de737 commit d28296f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -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 ) );
Expand Down

0 comments on commit d28296f

Please sign in to comment.