Skip to content
Commit 22979832 authored by David Edmundson's avatar David Edmundson
Browse files

[Klipper] Handle incoming UTF-8 mime types

QMimeData abstracts most mime type handling, but not text/plain vs
text/plain;charset=utf-8.

This is currently being done in QWayland inside qwaylanddataoffer. Given
this code is effectively a clone, we need to have the same check here.

Interestingly mimeData->text() worked before but not hasText(), which is
why it was unnoticed in the test pasteClient tool.

This fixes klipper and GTK apps.

BUG: 424694
parent 8bcf3016
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment