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

Consider removing QScriptValueIterator::remove()

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes