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

[Reg] User-range flags (QScriptValue::UserRange) not retained for getter/setter properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P4: Low
    • None
    • 4.6.0
    • Qt Script
    • None

    Description

      object.setProperty("foo", eng.newFunction(getter), QScriptValue::PropertyGetter | QScriptValue::UserRange);
      qWarning() << object.propertyFlags("foo");
      

      With Qt 4.5, the above snippet prints the equivalent of QScriptValue::PropertyGetter | QScriptValue::UserRange, but since 4.6, it prints only QScriptValue::PropertyGetter; the QScriptValue::UserRange bits have gone missing.

      Attachments

        Issue Links

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

          Activity

            People

              kenthans Kent Hansen (Inactive)
              kenthans Kent Hansen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes