summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2016-01-20 14:27:23 +0100
committerEdward Welbourne <edward.welbourne@theqtcompany.com>2016-01-29 10:35:09 +0000
commitc459ea84c4abb1bc68bc76dbbd4889a0f5bf4125 (patch)
treefbb37e7a89522edcdb852259437ddea10b0e6729 /src/corelib
parent2736d7921dfcedaa88382e8279dc23e9b1fd3214 (diff)
Set correct Section type for QDateTimeParser::last
Setting it to FirstSection was obviously wrong and left LastSection nowhere set ... Change-Id: I26260182e9d986b41b5f3a5d6df94540a5fc116a Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qdatetimeparser_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qdatetimeparser_p.h b/src/corelib/tools/qdatetimeparser_p.h
index a1cf8f283f..c96def6046 100644
--- a/src/corelib/tools/qdatetimeparser_p.h
+++ b/src/corelib/tools/qdatetimeparser_p.h
@@ -87,7 +87,7 @@ public:
first.pos = -1;
first.count = -1;
first.zeroesAdded = 0;
- last.type = FirstSection;
+ last.type = LastSection;
last.pos = -1;
last.count = -1;
last.zeroesAdded = 0;