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

Consider removing constant bindings for QProperty

    XMLWordPrintable

Details

    • 9da03da2e3fec3cfc9c4e6bfcf7f433845723d65 (qt/qtdeclarative/dev)

    Description

      For old properties we do (in QQmlObjectCreator)

              if (!b->isValueTypeProxy()) {
                  QQmlBinding *binding = static_cast<QQmlBinding*>(b.data());
                  if (!binding->hasError() && !binding->hasDependencies()
                          && binding->hasContext() && !binding->hasUnresolvedNames()) {
                      b->removeFromObject();
                  }
              }
      

      We probably should do the same with the new binding system.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes