Skip to content

Commit

Permalink
Compositionchecker: Default color tolerance of 1
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 14, 2014
1 parent b28dcb9 commit 9ae9de3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/src/core/qgscompositionchecker.cpp
Expand Up @@ -22,12 +22,14 @@
#include <QPainter>

QgsCompositionChecker::QgsCompositionChecker( const QString& testName, QgsComposition* composition )
: QgsMultiRenderChecker(),
mTestName( testName ),
mComposition( composition ),
mSize( 1122, 794 ),
mDotsPerMeter( 96 / 25.4 * 1000 )
: QgsMultiRenderChecker()
, mTestName( testName )
, mComposition( composition )
, mSize( 1122, 794 )
, mDotsPerMeter( 96 / 25.4 * 1000 )
{
// The composer has some slight render inconsistencies on the whole image sometimes
setColorTolerance( 1 );
}

QgsCompositionChecker::QgsCompositionChecker()
Expand Down

0 comments on commit 9ae9de3

Please sign in to comment.