Skip to content
Permalink
Browse files
fix test
  • Loading branch information
domi4484 committed Sep 1, 2021
1 parent b19b396 commit f4733ff541f7b0e95fc037c3e4d210ac56558d34
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/src/core/testqgslabelingengine.cpp
@@ -1884,6 +1884,7 @@ void TestQgsLabelingEngine::testLabelRotationUnit()
settings.dataDefinedProperties().setProperty( QgsPalLayerSettings::LabelRotation, QgsProperty::fromExpression( QString::number( 3.14 / 2.0 ) ) );
settings.setRotationUnit( QgsUnitTypes::AngleRadians );

vl->setLabeling( new QgsVectorLayerSimpleLabeling( settings ) ); // TODO: this should not be necessary!
vl->setLabelsEnabled( true );

QgsDefaultLabelingEngine engine;

0 comments on commit f4733ff

Please sign in to comment.