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

Prefer QQmlData::wasDeleted() to explicit checks

    XMLWordPrintable

Details

    Description

      Rather than explicitly checking the wasDeleted and isQueuedForDeletion flags in a QML data object, client code should use the new wasDeleted() function to test whether an object has been deleted. This ensures that the properties can be tested in a uniform manner.

      Attachments

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

        Activity

          People

            mvogt Matthew Vogt (closed Nokia identity) (Inactive)
            mvogt Matthew Vogt (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes