From dec1e2805d1d520b0f7ccb0ef546edbaea2ac533 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Fri, 12 May 2023 11:44:52 +0000 Subject: [PATCH] Doc: Make QByteArray(qsizetype size, Qt::Initialization) doc public The constructor that doesn't explicitly initialize the content of the array can be useful in some cases. Fixes: QTBUG-111582 Change-Id: Icc4bd753f1944a91be70316a7303bb822f79d472 Reviewed-by: Thiago Macieira (cherry picked from commit 506d237751d15468fcca52714cc4e9688f77e8fe) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/text/qbytearray.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/corelib/text/qbytearray.cpp b/src/corelib/text/qbytearray.cpp index 163fd9cb5f3..8faa130d38f 100644 --- a/src/corelib/text/qbytearray.cpp +++ b/src/corelib/text/qbytearray.cpp @@ -1836,8 +1836,6 @@ QByteArray::QByteArray(qsizetype size, char ch) } /*! - \internal - Constructs a byte array of size \a size with uninitialized contents. */