diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-05-15 16:30:16 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-05-15 16:30:16 +0200 |
commit | e6036cfc5ae1b0ab30ef3e23f0bb3362db32f1a1 (patch) | |
tree | e7a1f8df44f7ed539b333c1647ea124912441828 /src/corelib/plugin/qlibrary.cpp | |
parent | 4504d9ca31986b6e939b1a434b724404b72102f1 (diff) |
macOS: Better document plain-text code-path in QMacPasteboard::retrieveData
Due to PasteboardCopyItemFlavorData converting newlines to '\r' for some
UTIs we have traditionally had to shortcut these UTIs via NSStringPboardType
instead of the mime converters such as QMacPasteboardMimeUnicodeText.
Let's explain this a bit better for future generations.
Note that public.utf8-plain-text doesn't seem to have this problem
anymore, but it's left in for now to not cause any regressions due
to behavior change.
Change-Id: I7dce80828865c6323ed308780b8ca07b7a3e7c17
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib/plugin/qlibrary.cpp')
0 files changed, 0 insertions, 0 deletions