aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Tkachenko <me@ratijas.tk>2021-10-15 19:00:20 +0300
committerIvan Tkachenko <me@ratijas.tk>2021-10-20 13:31:20 +0300
commit71e6ab08b091451258834703b37f7822f6ca8abe (patch)
tree71942180ea01346b4022d2e926fdfc4f0943e247
parentcde9071322b6d40c033ab7f1c6ca06b2401bfe1e (diff)
LayoutEngine: Replace `0` argument with nullptr
Change-Id: I12471468f35c656c3ad0cb4de28fee446dec99ad Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-rw-r--r--src/quicklayouts/qquickgridlayoutengine_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicklayouts/qquickgridlayoutengine_p.h b/src/quicklayouts/qquickgridlayoutengine_p.h
index ff42fa4d43..15d49b364d 100644
--- a/src/quicklayouts/qquickgridlayoutengine_p.h
+++ b/src/quicklayouts/qquickgridlayoutengine_p.h
@@ -78,7 +78,7 @@ public:
if (!sizeHintCacheDirty)
return cachedSizeHints;
- QQuickLayout::effectiveSizeHints_helper(m_item, cachedSizeHints, 0, useFallbackToWidthOrHeight);
+ QQuickLayout::effectiveSizeHints_helper(m_item, cachedSizeHints, nullptr, useFallbackToWidthOrHeight);
useFallbackToWidthOrHeight = false;
sizeHintCacheDirty = false;