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

        For Gerrit Dashboard: QTBUG-25159
        # Subject Branch Project Status CR V

        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