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>
bb10
Edward Welbourne 2016-01-20 14:27:23 +01:00
parent 2736d7921d
commit c459ea84c4
1 changed files with 1 additions and 1 deletions

View File

@ -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;