Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75866

Remove QDateTimeParser::getAmPmText override in QDateTimeEdit

    XMLWordPrintable

    Details

    • Technical Risk:
      Normal
    • Commits:
      6e3b5801d26dc186066155202847342782bf653b (qt/qtbase/dev)
    • Epic Link:

      Description

      The function is currently virtual in QDateTimeParser, and QDateTimeEdit uses i18n mechanisms to implement l10n functionality. This is a poor choice, and in Qt 6 we can remove the possibility to override getAmPmText (it's only done in private classes anyway) and rely on the locale by default. The only publicly noticable effect of this is that the translatable strings will disappear.

      See QTBUG-72833 and relevant commits for the issue, and temporary fix in Qt 5.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                vhilshei Volker Hilsheimer
                Reporter:
                vhilshei Volker Hilsheimer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes