Skip to content

Commit

Permalink
Followup 53b116a, fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 30, 2015
1 parent 436337b commit 4ea0c56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/core/testqgscomposerscalebar.cpp
Expand Up @@ -104,7 +104,9 @@ void TestQgsComposerScaleBar::initTestCase()
mComposerScaleBar->setNumSegmentsLeft( 0 );
mComposerScaleBar->setNumSegments( 2 );
mComposerScaleBar->setHeight( 5 );

QPen scalePen = mComposerScaleBar->pen();
scalePen.setWidthF( 1.0 );
mComposerScaleBar->setPen( scalePen );

qWarning() << "scalebar font: " << mComposerScaleBar->font().toString() << " exactMatch:" << mComposerScaleBar->font().exactMatch();

Expand Down

0 comments on commit 4ea0c56

Please sign in to comment.