vcpkg/ports/qtdeclarative/7c94c7a.diff
Alexander Neumann 0a34f76849
[qt] Update qt 6.7.1 (#38845)
Closes #38835
Closes #39040
2024-06-11 12:17:04 -07:00

15 lines
596 B
Diff

diff --git a/src/quicklayouts/qquicklayout.cpp b/src/quicklayouts/qquicklayout.cpp
index e3d2457..97da0a6 100644
--- a/src/quicklayouts/qquicklayout.cpp
+++ b/src/quicklayouts/qquicklayout.cpp
@@ -949,7 +949,8 @@
{
Q_D(QQuickLayout);
QQuickItem::geometryChange(newGeometry, oldGeometry);
- if (invalidated() || d->m_disableRearrange || !isReady())
+ if ((invalidated() && !qobject_cast<QQuickLayout *>(parentItem())) ||
+ d->m_disableRearrange || !isReady())
return;
qCDebug(lcQuickLayouts) << "QQuickLayout::geometryChange" << newGeometry << oldGeometry;