diff options
author | Andy Shaw <andy.shaw@qt.io> | 2020-04-27 10:34:33 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2020-05-19 21:40:35 +0000 |
commit | 857722ed8f16bb5b9e64154690f6b0bf3f880dd7 (patch) | |
tree | 407d1cb5e91664c888d573f622f70db142922d66 /src/network/kernel/qnetworkdatagram.cpp | |
parent | 77e978001b7caa2c45b8a15e79e81ad5b3173c38 (diff) |
Android: Only have one valid QMimeData object kept around
Once the clipboard data is queried then we can clean up the previous
QMimeData object created. So rather than keeping on to it and cleaning
up when the clipboard is created we can delete it at that point. This
means it is not necessary to make it a QObject subclass, so we can save
in that respect too.
Pick-to: 5.15
Change-Id: I152ca6ea5c713abe25f75ca2016759c0e3152bfb
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/network/kernel/qnetworkdatagram.cpp')
0 files changed, 0 insertions, 0 deletions