qt6-bb10/src/widgets
Edward Welbourne 265b25a5c3 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 2dee006216

Fixes: QTBUG-79495
Change-Id: Iad48c3b648a0139ab43511e6fb4e6a8f63a0495f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2019-10-25 18:06:06 +02:00
..
accessible QWidget/QLineEdit: deprecate get{Contents,Text}Margins() 2019-07-30 22:41:19 +03:00
dialogs Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-30 14:43:02 +02:00
doc Merge remote-tracking branch 'origin/5.13' into 5.14 2019-10-24 10:23:44 +02:00
effects More nullptr usage in headers 2019-03-14 07:37:52 +00:00
graphicsview Merge remote-tracking branch 'origin/5.13' into 5.14 2019-10-24 10:23:44 +02:00
itemviews QTableView: properly deselect row when column 0 is hidden/not visible 2019-10-24 19:41:14 +02:00
kernel Merge remote-tracking branch 'origin/5.13' into 5.14 2019-10-24 10:23:44 +02:00
statemachine More nullptr usage in headers 2019-03-14 07:37:52 +00:00
styles Fix the size calculation of QHeaderView when stylesheet is used 2019-10-14 10:17:07 +02:00
util Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
widgets Specify year in month name lookups for QCalendarWidget 2019-10-25 18:06:06 +02:00
Qt5WidgetsConfigExtras.cmake.in
Qt5WidgetsMacros.cmake CMake: Set SKIP_AUTOMOC/AUTOUIC where needed 2017-11-22 13:51:30 +00:00
QtWidgets.dynlist
configure.json Goodbye showYellowThing 2019-08-22 09:43:48 +02:00
configure.pri Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00
qtwidgets.tracepoints Reduce amount of tracepoints required for event tracking 2019-05-02 14:15:58 +00:00
widgets.pro Remove eval mode 2019-02-12 15:48:45 +00:00