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

Parent should be required for creating new visual items.

    XMLWordPrintable

Details

    • 0a8379d9f01118d7ff0121e6ecbbc0307e1e7f63

    Description

      When creating a new item dynamically with createComponent, a common msitake is to forget to assign the item a parent in the same graphics scene. The function in question should require a parent (which could be null) in this situation to help people catch this mistake more easily.

      Attachments

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

        Activity

          People

            aalpert-nokia Alan Alpert (closed Nokia identity) (Inactive)
            aalpert-nokia Alan Alpert (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