Prevent crash in UsesWidget by keeping the layout items in bounds

UsesWidgetCollector::processUses appears to want to "pin" widgets to the end, however the mechanism for this no longer seems to work in Qt6.

BUG: 492221

Merge request reports

Loading