summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2016-12-15 10:57:05 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2017-05-22 13:00:00 +0000
commitfe8e0da33efaadc046c5758d2ee321d27d84cf50 (patch)
tree7b1f036f3a2559e9dd37e504ce2086abe75f4867 /src/widgets
parent7fbc7c9600b37e6adb4c3acf679d3e07b04bdb8e (diff)
QDateTimeParser: pass down an actual current value where expected
Method parse() was passing down its default value argument to various methods that expected an argument reflecting what's been parsed thus far. Pass them what they expected ! Most are fairly insensitive to the details at present, but the zone parsing I intend to add needs to know the right date to compute its offset. This makes it necessary to work out a sensible date and time to use, from the fragments seen so far, using the default value to fill in gaps but deviating from it wherever it conflicts with the actual values seen. Change-Id: I76750fcd92c1bdcad15c7dd4d8002cb90cec94ba Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions