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
|
||
|---|---|---|
| .. | ||
| accessible | ||
| dialogs | ||
| doc | ||
| effects | ||
| graphicsview | ||
| itemviews | ||
| kernel | ||
| statemachine | ||
| styles | ||
| util | ||
| widgets | ||
| Qt5WidgetsConfigExtras.cmake.in | ||
| Qt5WidgetsMacros.cmake | ||
| QtWidgets.dynlist | ||
| configure.json | ||
| configure.pri | ||
| qtwidgets.tracepoints | ||
| widgets.pro | ||