QFontPrivate cleanup

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-07-09 19:22:40 +00:00
parent 6f809b4a95
commit 3f28ef686d
2 changed files with 7 additions and 7 deletions

View file

@ -167,7 +167,7 @@ Q_GUI_EXPORT int qt_defaultDpi()
QFontPrivate::QFontPrivate()
: engineData(0), dpi(qt_defaultDpi()), screen(0),
underline(false), overline(false), strikeOut(false), kerning(true),
capital(0), letterSpacingIsAbsolute(false), scFont(0)
capital(QFont::MixedCase), letterSpacingIsAbsolute(false), scFont(0)
{
#ifdef Q_WS_X11
if (QX11Info::display())

View file

@ -163,12 +163,12 @@ public:
int dpi;
int screen;
uint underline : 1;
uint overline : 1;
uint strikeOut : 1;
uint kerning : 1;
uint capital : 3;
bool letterSpacingIsAbsolute : 1;
bool underline;
bool overline;
bool strikeOut;
bool kerning;
QFont::Capitalization capital;
bool letterSpacingIsAbsolute;
QFixed letterSpacing;
QFixed wordSpacing;