Skip to content
Permalink
Browse files
Fix QgsFontUtils test
  • Loading branch information
nirvn authored and nyalldawson committed Jul 19, 2021
1 parent f2502f7 commit d8461a1537f3acec75b807d3c7adb1a1731f5aac
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgsfontutils.cpp
@@ -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 ) );

0 comments on commit d8461a1

Please sign in to comment.