QWaylandMimeData: Return converted MIME types in formats(), too
This brings it in line with QXcbDropData where formats_sys()
returns the format from mimeAtomToString (which contains
the special-case for text/x-moz-url).
Furthermore, in hasFormat_sys() just check formats() to avoid
yet another place where a special-case is added, again in line
with QXcbDropData.
Pick-to: 6.8
Change-Id: Ia2b7c149b35110ff9dd8deed94c3378afb047ac1
Reviewed-by: David Edmundson <davidedmundson@kde.org>
| commit | e84626aa81c8e8d9862c6ef7a1c3bb305085f1c4 |
| parent | d2dad6ed1f5f8f0149c624baefcb5863f4439db9 |
| author | Kai Uwe Broulik <kde@privat.broulik.de> |
| committer | David Edmundson <davidedmundson@kde.org> |
| commit time | Fri, 29 Nov 2024 17:47:41 +0000 |