summaryrefslogtreecommitdiffstats
path: root/configure.bat
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-10-25 16:43:47 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2019-10-25 18:06:06 +0200
commit265b25a5c36a938ca13c016a09caf9fb9384e408 (patch)
treefb8919be82a5c30101c3a7dcf8280d0ab4e7e3ee /configure.bat
parent968cc365d24e3995d8456ed209fc1287a4935975 (diff)
Specify year in month name lookups for QCalendarWidget
The compiler didn't complain at a QLocale::FormatType values being passed for the int year parameters of the month-name functions, which all have a default for their final QLocale::FormatType parameters. So we didn't notice that the year parameter was missing until the bug was reported. Removed some code duplication by giving QCalendarModel a monthName() method. Reworked QCalendarMonthValidator::text() to avoid repeated calendar calculations (and use fewer braces). This commit amends commit 2dee00621632ab8acd0b3d59bdba264afe2f32c1 Fixes: QTBUG-79495 Change-Id: Iad48c3b648a0139ab43511e6fb4e6a8f63a0495f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'configure.bat')
0 files changed, 0 insertions, 0 deletions