1
0
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:
krepa098 2014-10-02 09:37:18 +02:00
parent 193b4e8bee
commit daf5be96b5

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