mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
make qt_addPatternProps() function static
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
a25f462454
commit
e3eb024c8d
1 changed files with 1 additions and 2 deletions
|
@ -836,8 +836,7 @@ static const char *styleHint(const QFontDef &request)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef QT_NO_FONTCONFIG
|
#ifndef QT_NO_FONTCONFIG
|
||||||
|
static void qt_addPatternProps(FcPattern *pattern, int screen, int script, const QFontDef &request)
|
||||||
void qt_addPatternProps(FcPattern *pattern, int screen, int script, const QFontDef &request)
|
|
||||||
{
|
{
|
||||||
double size_value = qMax(qreal(1.), request.pixelSize);
|
double size_value = qMax(qreal(1.), request.pixelSize);
|
||||||
FcPatternDel(pattern, FC_PIXEL_SIZE);
|
FcPatternDel(pattern, FC_PIXEL_SIZE);
|
||||||
|
|
Loading…
Add table
Reference in a new issue