diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2019-12-03 15:48:21 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-01-14 10:47:05 +0100 |
commit | 7b3d0abfa25676c34808e714d4f0cccc6b6bb885 (patch) | |
tree | 676fb0726647fafd1821e50255215147414d2e0e /tests/auto/bic/data/QtCore.5.12.0.linux-gcc-amd64.txt | |
parent | 01d24eea09e1312e9fa7eee98e98ce22ed504aba (diff) |
Do fewer calendrical calculations in QDateTimeParser::setDigit()
It was calling a QDate's year(), month() and day() methods, each of
which repeats most of the same calendrical calculations; and the same
results can be obtained from the calendar's partsFromDate() all in one
go. This also reduces the number of local variables needed.
Change-Id: I8f84e66a5f677f55cb2113c56ebbdf7c2517e828
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/bic/data/QtCore.5.12.0.linux-gcc-amd64.txt')
0 files changed, 0 insertions, 0 deletions