OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a25f462
)
make qt_addPatternProps() function static
author
Ivailo Monev
<xakepa10@laimg.moc>
Fri, 13 Dec 2019 11:48:25 +0000
(11:48 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Fri, 13 Dec 2019 11:48:25 +0000
(11:48 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/text/qfontdatabase_x11.h
patch
|
blob
|
history
diff --git
a/src/gui/text/qfontdatabase_x11.h
b/src/gui/text/qfontdatabase_x11.h
index
dced9b6
..
acc4772
100644
(file)
--- a/
src/gui/text/qfontdatabase_x11.h
+++ b/
src/gui/text/qfontdatabase_x11.h
@@
-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);