mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +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
|
QDateTimeParser::FieldInfo QDateTimeParser::fieldInfo(int index) const
|
||||||
{
|
{
|
||||||
FieldInfo ret = Q_NULLPTR;
|
FieldInfo ret = 0;
|
||||||
const SectionNode &sn = sectionNode(index);
|
const SectionNode &sn = sectionNode(index);
|
||||||
const Section s = sn.type;
|
const Section s = sn.type;
|
||||||
switch (s) {
|
switch (s) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue