Skip to content

Commit

Permalink
Fix QgsFontUtils test
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn authored and nyalldawson committed Jul 19, 2021
1 parent f2502f7 commit d8461a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgsfontutils.cpp
Expand Up @@ -102,7 +102,7 @@ void TestQgsFontUtils::xmlMethods()
#endif

//test numeric weight
f1.setWeight( 5 );
f1.setWeight( QFont::ExtraLight );
fontElem = QgsFontUtils::toXmlElement( f1, doc, QStringLiteral( "test" ) );
QVERIFY( f2.weight() != f1.weight() );
QVERIFY( QgsFontUtils::setFromXmlElement( f2, fontElem ) );
Expand Down

0 comments on commit d8461a1

Please sign in to comment.