Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.1.1
-
None
-
80c8d5b276baead8c80eb95e3147ae32a1a03465
Description
In the documentation "QByteArray" are some code examples:
...
QByteArray ba2("ca\0r\0t", 3);
ba2.size(); // Returns 3.
ba2.constData(); // Returns "ca\0" with terminating \0.
QByteArray ba3("ca\0r\0t", 4);
ba3.size(); // Returns 4.
ba2.constData(); // Returns "ca\0r" with terminating \0.
...
In the last line it should be:
ba3.constData(); ...
Attachments
For Gerrit Dashboard: QTBUG-33408 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
65056,1 | Fix a typo in documentation | stable | qt/qtbase | Status: MERGED | +2 | 0 |