diff options
author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2014-02-14 14:24:28 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-06 20:48:59 +0100 |
commit | 3e89183c6709f4ac73533e85a86394f3ed30c445 (patch) | |
tree | d34632011dd49457b8c478c02aa97c6c9c59c9ed /dist/changes-3.0.4 | |
parent | 15c9fb401316991f4c26ff883c078648614ce6af (diff) |
qmacmime: bugfix unicode::canConvert
The UnicodeText converter is a bit special since it can convert
to both utf8 and utf16 for text/plain. But since flavorFor("text/plain")
can only return one UTI, it returns utf16. And this means that
canConvert will return false if given utf8 as argument.
On iOS this is often the only format available on the pasteboard, which
means that pasting text from another app app will fail.
This patch will ensure that it returns true for both utf8 and
utf16.
Change-Id: I31697f1815c19113393a8ef48f2ead4d7f1078ec
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'dist/changes-3.0.4')
0 files changed, 0 insertions, 0 deletions