diff options
author | Mårten Nordheim <[email protected]> | 2025-06-27 12:12:57 +0200 |
---|---|---|
committer | Mårten Nordheim <[email protected]> | 2025-06-30 23:13:58 +0200 |
commit | 7482efd17196e3686075213701423667c0bf198f (patch) | |
tree | 4fe8ed1bbdc22a8821837ff60c9b3f24ce57cea3 | |
parent | 0604e0f87e32314add37b657c54592be9290fac5 (diff) |
It was missing from the original commit in 6.8.
Amends 21dfb0ebcc6b3a3408a8272ce536a1e4d53910cd
Pick-to: 6.10 6.9 6.8
Change-Id: I482a621ecc1a04e3f3ce9ba37c7a1ad22e140ce9
Reviewed-by: Giuseppe D'Angelo <[email protected]>
Reviewed-by: Albert Astals Cid <[email protected]>
Reviewed-by: Marc Mutz <[email protected]>
-rw-r--r-- | src/corelib/text/qbytearray.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/corelib/text/qbytearray.cpp b/src/corelib/text/qbytearray.cpp index d518a2f28f2..3e27f0260d3 100644 --- a/src/corelib/text/qbytearray.cpp +++ b/src/corelib/text/qbytearray.cpp @@ -1889,6 +1889,15 @@ QByteArray::QByteArray(qsizetype size, Qt::Initialization) } /*! + \fn QByteArray::QByteArray(QByteArrayView v) + \since 6.8 + + Constructs a byte array initialized with the byte array view's data. + + The QByteArray will be null if and only if \a v is null. +*/ + +/*! Sets the size of the byte array to \a size bytes. If \a size is greater than the current size, the byte array is |