Skip to content

Commit

Permalink
Fix bad backport. pt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 20, 2016
1 parent 6c0752e commit 2b8bf50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgslegendrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ void TestQgsLegendRenderer::testTallSymbol()
{
QString testName = "legend_tall_symbol";

QgsCategorizedSymbolRendererV2* catRenderer = dynamic_cast<QgsCategorizedSymbolRendererV2*>( mVL3->renderer() );
QgsCategorizedSymbolRendererV2* catRenderer = dynamic_cast<QgsCategorizedSymbolRendererV2*>( mVL3->rendererV2() );
QVERIFY( catRenderer );
catRenderer->updateCategoryLabel( 1, "This is\nthree lines\nlong label" );

Expand Down

0 comments on commit 2b8bf50

Please sign in to comment.