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

QInputDialog's getDouble ignores the setLocale's decimal separator

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.8.0
    • None
    • Ubuntu 14.04, Qt 5.8, Hungarian locale (where the decimal separator is ',')

    Description

      The QInputDialog's doubleSpinbox's decimal separator stays on the system's locale even if a different decimal separator is set through the setLocale method.

      If the attached example run on a system where the decimal separator is comma (',') then the input dialog should show the spinBox with dot ('.'). However the widget will show comma.

      Attachments

        1. untitled.zip
          5 kB
          Miklós Márton
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            richard Richard Moe Gustavsen
            martonmiklos Miklós Márton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes