From 16f3c84e30ba82481d0d8ffdc6a239452a45c8bf Mon Sep 17 00:00:00 2001 From: Leonard Lee Date: Thu, 22 Aug 2013 16:37:17 +0200 Subject: [PATCH] Remove the size limit of QByteArray information. The information is explaining implementation details rather than on how to use it effectively. The size limit of QByteArray may vary depending on available memory. Task-number: QTBUG-33037 Change-Id: I361316422ade3624a0c2864d93f87caeb654f4d7 Reviewed-by: Thiago Macieira --- src/corelib/tools/qbytearray.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/corelib/tools/qbytearray.cpp b/src/corelib/tools/qbytearray.cpp index e993855e7e..6ce17e5e13 100644 --- a/src/corelib/tools/qbytearray.cpp +++ b/src/corelib/tools/qbytearray.cpp @@ -645,8 +645,6 @@ static inline char qToLower(char c) store raw binary data, and when memory conservation is critical (e.g., with Qt for Embedded Linux). - The maximum array size of a QByteArray is under 2^30. - One way to initialize a QByteArray is simply to pass a \c{const char *} to its constructor. For example, the following code creates a byte array of size 5 containing the data "Hello":