diff --git a/src/corelib/text/qbytearray.cpp b/src/corelib/text/qbytearray.cpp index e48b9bcac1e..8d95e998b26 100644 --- a/src/corelib/text/qbytearray.cpp +++ b/src/corelib/text/qbytearray.cpp @@ -1333,6 +1333,9 @@ QByteArray &QByteArray::operator=(const QByteArray & other) noexcept \overload Assigns \a str to this byte array. + + \a str is assumed to point to a null-terminated string, and its length is + determined dynamically. */ QByteArray &QByteArray::operator=(const char *str)