OSDN Git Service

initialize values in QFont streaming operator
authorIvailo Monev <xakepa10@gmail.com>
Sun, 13 Nov 2022 20:52:32 +0000 (22:52 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Sun, 13 Nov 2022 20:52:32 +0000 (22:52 +0200)
commit67b4a9f516c6d7b7b8610387c8796aecc18380d3
treeffdd049560e2187e75411cb34c964452ce41e495
parent34411b3cc55bc24bea1c0e4c605d325be01992c4
initialize values in QFont streaming operator

if they are not read from the QDataStream (e.g. premature end of data or
corrupt data) they will end up being zero tho because that is what
QDataStream sets them to on failure, perhaps it should not

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/gui/text/qfont.cpp