Skip to content

Dialog: fix multiple binding loops

Akseli Lahtinen requested to merge work/akselmo/dialog-fix-binding-loops into master

There was multiple bindingloops:

  • widthHint.value
  • calculatedImplicitWidth
  • calculatedImplicitHeight

For example calculatedImplicitWidth was assigning contentItem.width to contentItem.implicitWidth, which never should be done.

The widthHint was basically looping on itself, but the same result could be done with less calculations.

Merge request reports

Loading