diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2014-12-24 11:25:06 +0400 |
---|---|---|
committer | Konstantin Ritt <ritt.ks@gmail.com> | 2014-12-24 19:57:12 +0100 |
commit | 462be988b6ce2958605177ad3c8dd87210d9ec19 (patch) | |
tree | 949ca9b6d947a16e90b08f2773aaec68eed93cc4 /src/gui/text/qfont.cpp | |
parent | e9dbaa328e7d26ad6a7b5fd2490191751a7731b4 (diff) |
[QFont] Don't build datastream helpers with QT_NO_DATASTREAM
Change-Id: Id70491c07f5cf13d5f78ec0fc94ffd2b3134ff20
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/gui/text/qfont.cpp')
-rw-r--r-- | src/gui/text/qfont.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp index 9059092538..249276bb69 100644 --- a/src/gui/text/qfont.cpp +++ b/src/gui/text/qfont.cpp @@ -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. |