summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-06-28 06:42:13 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-06-28 06:52:14 -0700
commite79d177c7150166851e1e8152ecdd1908e1bcacf (patch)
tree2ba14bc22324367f891a3ac2e52f9b6e4458505f /qt-models
parentbcde65b152f2fdbf0e068c3a9dfabe138be2efca (diff)
downloadsubsurface-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