Skip to content
Permalink
Browse files

Update tests

  • Loading branch information
pblottiere committed Mar 20, 2019
1 parent 4efd410 commit 2aeac0d32139b67469196e08d2e63b1b74ee82ee
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/core/testqgslegendrenderer.cpp
@@ -88,7 +88,8 @@ static QJsonObject _renderJsonLegend( QgsLayerTreeModel *legendModel, const QgsL
QgsLegendRenderer legendRenderer( legendModel, settings );

QJsonObject json;
legendRenderer.drawLegend( json );
QgsRenderContext context;
legendRenderer.exportLegendToJson( context, json );
return json;
}

0 comments on commit 2aeac0d

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