make qt_addPatternProps() function static

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-12-13 11:48:25 +00:00
parent a25f462454
commit e3eb024c8d

View file

@ -836,8 +836,7 @@ static const char *styleHint(const QFontDef &request)
}
#ifndef QT_NO_FONTCONFIG
void qt_addPatternProps(FcPattern *pattern, int screen, int script, const QFontDef &request)
static void qt_addPatternProps(FcPattern *pattern, int screen, int script, const QFontDef &request)
{
double size_value = qMax(qreal(1.), request.pixelSize);
FcPatternDel(pattern, FC_PIXEL_SIZE);