summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-12-17 17:10:23 +0100
committerLars Knoll <lars.knoll@qt.io>2017-12-29 08:14:55 +0000
commitdcc605beb6d82ef89d1088eb8b1bd25f2f1f3bd6 (patch)
treebaffa960cf544f7dfc77c9e99014882f8c0dea38 /src/network
parenta779d68256ba2568f47aab9c5efbcef0cf8c277e (diff)
Chop a possible trailing \0 from retrieved text
Some apps (e.g. Chromium) explicitly append a \0 to the text they transmit through the clipboard. Remove that one, when we retrieve the text, so it doesn't become part of the text we're pasting. This was e.g. visible when pasting from chromium to the textedit example. Change-Id: I9445319e6e5ef304a364e14f794b16557a3cc919 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions