diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2016-09-30 19:26:48 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2016-10-01 17:36:50 +0000 |
commit | 4518345b80b0ee1101ecb0e7349728abd237aa6e (patch) | |
tree | a4ee6a980f6aee3230d7e04ec210ef5db823e071 /src/widgets | |
parent | 897ef8f200d8a07ead49337762b5c95d063cc7e7 (diff) |
QIODevice: add CHECK_MAXBYTEARRAYSIZE macro
It unifies handling of QByteArray's size limit in read(), readLine()
and will be used in a follow-up change which optimizes the performance
of QIODevice::peek() function.
Change-Id: Idb9fbbe14d9632ee267d2a0e47c8a88603c024a2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions