diff options
author | Mikolaj Boc <mikolaj.boc@qt.io> | 2022-11-25 13:17:16 +0100 |
---|---|---|
committer | Mikolaj Boc <mikolaj.boc@qt.io> | 2022-12-08 03:37:03 +0100 |
commit | 4673f00277ee0dbb01719e37b53dc1745e232ccd (patch) | |
tree | e7fd2be501780c9f99058d9a2c8b48d2f07d6032 /examples/widgets/richtext/orderform | |
parent | effd3b4d83703996f30e85d113efe16771024e37 (diff) |
Resolve the ownership problems in qClipboardPasteTo
A deleted mMimeData instance might be referenced if more that one file
item is present in the clipboadData. This fix uses a continuation
mechanism to only run the actual qWasmClipboardPaste when all the
data has been collected. The ownership of QMimeData is then transferred
to the global QClipboardData q_clipboardData.
Fixes: QTBUG-108841
Change-Id: I16def48d70ebbffc68462ed74ccd9ee8ee8053de
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'examples/widgets/richtext/orderform')
0 files changed, 0 insertions, 0 deletions