From e46f83df6d7bb2190b059cc3619a5064e95a18c9 Mon Sep 17 00:00:00 2001 From: mbsanchez Date: Sat, 7 Sep 2019 12:07:04 -0400 Subject: [PATCH] default font weight is set to QFont::Normal in FontData's constructor --- QtAwesome/QtAwesome.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QtAwesome/QtAwesome.h b/QtAwesome/QtAwesome.h index f72fd12..63de062 100644 --- a/QtAwesome/QtAwesome.h +++ b/QtAwesome/QtAwesome.h @@ -2196,7 +2196,7 @@ private: FontData() : FontData(QString()){ } - FontData(const QString &fontFileName, int fontWeight = 400){ + FontData(const QString &fontFileName, int fontWeight = QFont::Normal){ _fontFilename = fontFileName; _fontFamily = QString(); _fontId = -1;