mirror of
https://github.com/gamecreature/QtAwesome.git
synced 2024-11-15 13:35:44 +08:00
default font weight is set to QFont::Normal in FontData's constructor
This commit is contained in:
parent
d7edceaed4
commit
e46f83df6d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user