Skip to content
Permalink
Browse files

Compositionchecker: Default color tolerance of 1

  • Loading branch information
m-kuhn committed Nov 8, 2014
1 parent b28dcb9 commit 9ae9de3e7f56aca9575c4514aaa87ca777c9fbb0
Showing with 7 additions and 5 deletions.
  1. +7 −5 tests/src/core/qgscompositionchecker.cpp
@@ -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()

0 comments on commit 9ae9de3

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