File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ void TestQgsGradients::initTestCase()
94
94
QFileInfo myPolyFileInfo ( myPolysFileName );
95
95
mpPolysLayer = new QgsVectorLayer ( myPolyFileInfo.filePath (),
96
96
myPolyFileInfo.completeBaseName (), " ogr" );
97
+ mpPolysLayer->setSimplifyDrawingHints ( QgsVectorLayer::NoSimplification );
97
98
// Register the layer with the registry
98
99
QgsMapLayerRegistry::instance ()->addMapLayers (
99
100
QList<QgsMapLayer *>() << mpPolysLayer );
@@ -244,6 +245,7 @@ void TestQgsGradients::gradientSymbolFromQml()
244
245
{
245
246
mReport += " <h2>Gradient symbol from QML test</h2>\n " ;
246
247
QVERIFY ( setQml ( " gradient" ) );
248
+ mpPolysLayer->setSimplifyDrawingHints ( QgsVectorLayer::NoSimplification );
247
249
QVERIFY ( imageCheck ( " gradient_from_qml" ) );
248
250
}
249
251
You can’t perform that action at this time.
0 commit comments