Otherwise we end up with several corner cases where the implicit width
is the same as width but we still have actions hidden.
Gbp-Pq: Name upstream_e3c6af3b_layouts-Always-relayout-on-geometry-changes-in-ToolBarLayout.patch
void ToolBarLayout::geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry)
{
if (newGeometry != oldGeometry) {
- if (newGeometry.size() != QSizeF{implicitWidth(), implicitHeight()}) {
- relayout();
- } else {
- polish();
- }
+ relayout();
}
QQuickItem::geometryChange(newGeometry, oldGeometry);
}