mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
correct type initialization in QDateTimeParser::fieldInfo()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
7756e66b91
commit
57dbd9c464
1 changed files with 1 additions and 1 deletions
|
@ -4938,7 +4938,7 @@ int QDateTimeParser::maxChange(int index) const
|
|||
|
||||
QDateTimeParser::FieldInfo QDateTimeParser::fieldInfo(int index) const
|
||||
{
|
||||
FieldInfo ret = Q_NULLPTR;
|
||||
FieldInfo ret = 0;
|
||||
const SectionNode &sn = sectionNode(index);
|
||||
const Section s = sn.type;
|
||||
switch (s) {
|
||||
|
|
Loading…
Add table
Reference in a new issue