Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some failing tests
  • Loading branch information
nyalldawson committed Jun 18, 2014
1 parent 1532048 commit 5dc75d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposermap.cpp
Expand Up @@ -2611,7 +2611,7 @@ void QgsComposerMap::drawOverviewMapExtent( QPainter* p )
//We are inverting the overview frame (ie, shading outside the intersecting extent)
//Construct a polygon corresponding to the overview map extent
QPolygonF outerPolygon;
outerPolygon << QPointF( 0, 0 ) << QPointF( rect().width(), 0 ) << QPointF( rect().width(), rect().height() ) << QPointF( 0, rect().height() ) << QPointF( 0, 0 );
outerPolygon << QPointF( 0, 0 ) << QPointF( rect().width() * dotsPerMM, 0 ) << QPointF( rect().width() * dotsPerMM, rect().height() * dotsPerMM ) << QPointF( 0, rect().height() * dotsPerMM ) << QPointF( 0, 0 );

//Intersecting extent is an inner ring for the shaded area
rings.append( intersectPolygon );
Expand Down
2 changes: 1 addition & 1 deletion tests/src/core/testqgsshapeburst.cpp
Expand Up @@ -236,7 +236,7 @@ bool TestQgsShapeburst::imageCheck( QString theTestType )
QgsRenderChecker myChecker;
myChecker.setControlName( "expected_" + theTestType );
myChecker.setMapSettings( mMapSettings );
bool myResultFlag = myChecker.runTest( theTestType );
bool myResultFlag = myChecker.runTest( theTestType, 200 );
mReport += myChecker.report();
return myResultFlag;
}
Expand Down

0 comments on commit 5dc75d4

Please sign in to comment.