Enums are not stored as values in option profiles

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 3.0.0b7
    • Affects Version/s: 3.0.0b5
    • Component/s: Profiles
    • None

      Option profiles store enum values as is. This stores the data as a QVariant, referencing the enum class. In normal settings enums are stored as values, being converted back to their enum type during load.

      Storing a QVariant causes profile settings to fail loading if the enum class is not available. This can be the case with plugin settings, especially as profiles are accessed early before plugins get initialized.

            Assignee:
            Philipp Wolfer
            Reporter:
            Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                3.0.0b7