diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-06-28 06:42:13 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-28 06:52:14 -0700 |
commit | e79d177c7150166851e1e8152ecdd1908e1bcacf (patch) | |
tree | 2ba14bc22324367f891a3ac2e52f9b6e4458505f /qt-models | |
parent | bcde65b152f2fdbf0e068c3a9dfabe138be2efca (diff) | |
download | subsurface-e79d177c7150166851e1e8152ecdd1908e1bcacf.tar.gz |
Android: limit the amount of data copied to clipboard
The clipboard fails if we attempt to copy more than 1MB of data. But the
data buffer used is shared between all transactions 'in flight' and we
cannot tell what else is currently using that buffer. Limiting ourselves
to 500k of text for the logfiles seems reasonable and hopefully makes it
more likely that the transaction will succeed (sadly, Qt doesn't tell us
if it failed).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
0 files changed, 0 insertions, 0 deletions