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

QSettings float should be human readable

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 4.7.2
    • Fix Version/s: 6.1.0 Alpha
    • Component/s: Core: I/O
    • Labels:
      None
    • Commits:
      c23e8cb582219a8e03c97c55a530625a41c68832 (qt/qtbase/dev)

      Description

      Currently QSettings stores float values like name/float=@Variant(\0\0\0\x87@\xa0\0\0),
      instead of name/float=100 which would be much easier to edit and uses less bytes.

      It should switch to a human readable format, if the value is a valid float.
      And this would be backward/forward compatible, because QSettings already reads the human-readable
      numbers correctly.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            benibela Benito van der Zander
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes