diff options
author | Ulf Hermann <[email protected]> | 2025-05-16 22:49:26 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2025-05-31 16:41:24 +0000 |
commit | f55deac59a66c424bda83c3dfc3a789b20c9bed5 (patch) | |
tree | 6b618d931a7f2ce0365e52d7ae72cc9c46fbb2c1 /src | |
parent | 6ba05610cd5857571a780b8a5ff1cb86123caffd (diff) |
It's probably helpful to know which layout causes this.
Task-number: QTBUG-51285
Pick-to: 6.9 6.8 6.5
Change-Id: I6d5e42d1eec87b8f787063c4a72edd3701c0f0a7
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/quicklayouts/qquicklinearlayout.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quicklayouts/qquicklinearlayout.cpp b/src/quicklayouts/qquicklinearlayout.cpp index 70b9f09147..38677203db 100644 --- a/src/quicklayouts/qquicklinearlayout.cpp +++ b/src/quicklayouts/qquicklinearlayout.cpp @@ -451,7 +451,8 @@ void QQuickGridLayoutBase::rearrange(const QSizeF &size) if (d->m_recurRearrangeCounter++ == 2) { // allow a recursive depth of two in order to respond to height-for-width // (e.g QQuickText changes implicitHeight when its width gets changed) - qWarning() << "Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations."; + qmlWarning(this) + << "Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations."; return; } |