We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b28dcb9 commit 9ae9de3Copy full SHA for 9ae9de3
tests/src/core/qgscompositionchecker.cpp
@@ -22,12 +22,14 @@
22
#include <QPainter>
23
24
QgsCompositionChecker::QgsCompositionChecker( const QString& testName, QgsComposition* composition )
25
- : QgsMultiRenderChecker(),
26
- mTestName( testName ),
27
- mComposition( composition ),
28
- mSize( 1122, 794 ),
29
- mDotsPerMeter( 96 / 25.4 * 1000 )
+ : QgsMultiRenderChecker()
+ , mTestName( testName )
+ , mComposition( composition )
+ , mSize( 1122, 794 )
+ , mDotsPerMeter( 96 / 25.4 * 1000 )
30
{
31
+ // The composer has some slight render inconsistencies on the whole image sometimes
32
+ setColorTolerance( 1 );
33
}
34
35
QgsCompositionChecker::QgsCompositionChecker()
0 commit comments