[QFont] Don't build datastream helpers with QT_NO_DATASTREAM

Change-Id: Id70491c07f5cf13d5f78ec0fc94ffd2b3134ff20
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
This commit is contained in:
Konstantin Ritt 2014-12-24 11:25:06 +04:00
parent e9dbaa328e
commit 462be988b6

View File

@ -1881,7 +1881,7 @@ QStringList QFont::substitutions()
return ret;
}
#ifndef QT_NO_DATASTREAM
/* \internal
Internal function. Converts boolean font settings to an unsigned
8-bit number. Used for serialization etc.
@ -1924,8 +1924,6 @@ static quint8 get_extended_font_bits(const QFontPrivate *f)
return bits;
}
#ifndef QT_NO_DATASTREAM
/* \internal
Internal function. Sets boolean font settings from an unsigned
8-bit number. Used for serialization etc.