Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16478 QtScript API changes for Qt 5
  3. QTBUG-16503

Consider removing QScriptValueIterator::remove()

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • 5.0.0
    • Qt Script
    • None

      http://doc.trolltech.com/4.7/qscriptvalueiterator.html#remove

      This is a "convenience" for setProperty(it.name(), QScriptValue()) (i.e., deleting the property).
      remove() is not guaranteed to delete the property, though, since the property might be undeletable, and there's no way of telling since remove() returns void.
      We suggest that remove() is removed, so that standard ("non-magic") property deletion must be used instead.

        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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes