correct assignment in QDateTimeParser::parseFormat()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-02 08:51:35 +03:00
parent c1eb4855ef
commit 747eb83bed

View file

@ -3813,7 +3813,7 @@ bool QDateTimeParser::parseFormat(const QString &newFormat)
QDTPDEBUGN("parseFormat: %s", newFormat.toLatin1().constData());
QVector<SectionNode> newSectionNodes;
Sections newDisplay = nullptr;
Sections newDisplay = NoSection;
QStringList newSeparators;
int index = 0;
int add = 0;