Ahmad Samir d30ce747c2 QWaylandClipboard: fix crash when setting the same QMimeData* more than once
This also fixes a crash in qtbase's tst_qclipboard, one of the tests
there expects that calling setMimeData() on the same QMimeData* won't
cause a crash. This matches how QXcbClipboard behaves.

Amends 5925c3110df258e78e6086e3bf526b8f6f779039.

Pick-to: 6.8 6.7
Change-Id: I057315aa1466857b7cd7181eba92068e92154ef5
Reviewed-by: David Edmundson <davidedmundson@kde.org>
2024-07-22 20:07:29 +03:00
Description
Qt Base (Core, Gui, Widgets, Network, ...)
822 MiB
Languages
C++ 84.3%
HTML 4.9%
C 3.9%
CMake 3.6%
Objective-C++ 2%
Other 0.8%