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:
Jędrzej Nowacki 2013-09-10 10:50:44 +02:00 committed by The Qt Project
parent 82e94c7890
commit 6d1f8575a3

View File

@ -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));