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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes