summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/qwaylandclient.cpp
diff options
context:
space:
mode:
authorTang Haixiang <tanghaixiang@uniontech.com>2022-12-22 15:19:53 +0800
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2023-06-08 07:22:08 +0000
commitd8125d85f3122ae205ef36dd2039c800ea67bff5 (patch)
treec9b7685382bf42ef5996e8371ba4b5028a868ba3 /src/compositor/compositor_api/qwaylandclient.cpp
parentd3f4b3be5157f7a095b6176c98787065ae4ed4ec (diff)
Client: Manage QMimeData lifecycle
QMimeData is created by user, it is not taken care of in qtwayland, which will cause memory leak. It is now handled in qtwayland that when a new QMimeData is set, the previous QMimeData is freed. This is a backport of commit 3af40c6c42703a65656fdd3322183abb2905e44d which was submitted to dev / 6.6. In hindsight, it was decided it should have also gone to patch releases, hence this backport. Pick-to: 5.15 6.2 Change-Id: Ic502021fe700c7ee10454d94f0d1868901809af7 Reviewed-by: David Edmundson <davidedmundson@kde.org>
Diffstat (limited to 'src/compositor/compositor_api/qwaylandclient.cpp')
0 files changed, 0 insertions, 0 deletions