mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Style: font size doesn't take px suffix, fixes fonts not applying
properly
This commit is contained in:
parent
193b4e8bee
commit
daf5be96b5
|
@ -46,7 +46,7 @@ QString qssifyWeight(int weight)
|
|||
|
||||
QString qssifyFont(QFont font)
|
||||
{
|
||||
return QString("%1px %2 \"%3\"")
|
||||
return QString("%1 %2 \"%3\"")
|
||||
.arg(font.pixelSize())
|
||||
.arg(qssifyWeight(font.weight()))
|
||||
.arg(font.family());
|
||||
|
|
Loading…
Reference in New Issue
Block a user