From 4f9ece6c599e0ffd4a648461bc034c80ed5d6d6b Mon Sep 17 00:00:00 2001 From: Sander Visser Date: Fri, 26 Jun 2020 10:56:44 +0200 Subject: [PATCH] Fix missing member in QXmlStreamReaderPrivate::init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add missing lastAttributeIsCData Change-Id: I66429d35da0451eefe8d14e031306b16df910d0f Reviewed-by: MÃ¥rten Nordheim --- src/corelib/serialization/qxmlstream.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corelib/serialization/qxmlstream.cpp b/src/corelib/serialization/qxmlstream.cpp index 21f80eec66..690ea7588f 100644 --- a/src/corelib/serialization/qxmlstream.cpp +++ b/src/corelib/serialization/qxmlstream.cpp @@ -822,6 +822,7 @@ QXmlStreamReaderPrivate::QXmlStreamReaderPrivate(QXmlStreamReader *q) void QXmlStreamReaderPrivate::init() { scanDtd = false; + lastAttributeIsCData = false; token = -1; token_char = 0; isEmptyElement = false;