default font weight is set to QFont::Normal in FontData's constructor

This commit is contained in:
mbsanchez 2019-09-07 12:07:04 -04:00 committed by Rick Blommers
parent d7edceaed4
commit e46f83df6d

View File

@ -2196,7 +2196,7 @@ private:
FontData() : FontData(QString()){ FontData() : FontData(QString()){
} }
FontData(const QString &fontFileName, int fontWeight = 400){ FontData(const QString &fontFileName, int fontWeight = QFont::Normal){
_fontFilename = fontFileName; _fontFilename = fontFileName;
_fontFamily = QString(); _fontFamily = QString();
_fontId = -1; _fontId = -1;