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

Use QLocalePrivate, not QLocale, in Q(System)Locale implementation

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Core: Locales (i18n)
    • None

      See epic for a description.

      This task is about code like this:

          lc_numeric = QLocale(QString::fromLatin1(numeric));
          lc_time = QLocale(QString::fromLatin1(time));
          lc_monetary = QLocale(QString::fromLatin1(monetary));
          lc_messages = QLocale(QString::fromLatin1(lc_messages_var));
         ~~~
              return QVariant((int)QLocale(meas_locale).measurementSystem());
      

      (there's bound to be more), which could just use QLocalePrivate instead.

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

            Eddy Edward Welbourne
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes