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 <thiago.macieira@intel.com>
(cherry picked from commit 506d237751d15468fcca52714cc4e9688f77e8fe)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Topi Reinio 2023-05-12 11:44:52 +00:00 committed by Qt Cherry-pick Bot
parent 40db6d0715
commit dec1e2805d

View File

@ -1836,8 +1836,6 @@ QByteArray::QByteArray(qsizetype size, char ch)
}
/*!
\internal
Constructs a byte array of size \a size with uninitialized contents.
*/