1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #366 from krepa098/master

Style: font size doesn't take px suffix, fixes fonts not applying
This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-10-02 20:40:01 +02:00
commit 6b125c66a8

View File

@ -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());