Fix a typo in documentation
Task-number: QTBUG-33408 Change-Id: I84729139ff40ac62b29031eb161761a8205259cc Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
This commit is contained in:
parent
82e94c7890
commit
6d1f8575a3
@ -427,7 +427,7 @@ 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.
|
||||
ba3.constData(); // Returns "ca\0r" with terminating \0.
|
||||
|
||||
const char cart[] = {'c', 'a', '\0', 'r', '\0', 't'};
|
||||
QByteArray ba4(QByteArray::fromRawData(cart, 6));
|
||||
|
Loading…
Reference in New Issue
Block a user