qt5base-lts/src
Lars Knoll dcc605beb6 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>
2017-12-29 08:14:55 +00:00
..
3rdparty Merge remote-tracking branch 'origin/5.9' into 5.10 2017-11-09 11:47:57 +01:00
android Merge remote-tracking branch 'origin/5.10' into dev 2017-11-30 09:16:58 +01:00
angle ANGLE: Fix compilation with MinGW 2017-10-16 15:47:03 +00:00
concurrent Make QT_NO_FUTURE a feature 2017-12-19 09:17:06 +00:00
corelib Fix build with -no-feature-regularexpression 2017-12-21 18:23:17 +00:00
dbus doc: update dbus sources for clangqdoc 2017-12-08 17:38:06 +00:00
gui Update font when text format's letter spacing type is changed 2017-12-22 05:37:55 +00:00
network Fix signed/unsigned comparison 2017-12-21 15:46:05 +00:00
opengl doc: clangqdoc must always see GL typedefs 2017-12-08 17:37:54 +00:00
openglextensions Replace Q_DECL_FINAL with final 2017-09-22 07:30:01 +00:00
platformheaders Merge remote-tracking branch 'origin/5.9' into dev 2017-04-20 12:31:27 +02:00
platformsupport macOS: remove existing color-profile handling code 2017-12-15 12:41:05 +00:00
plugins Chop a possible trailing \0 from retrieved text 2017-12-29 08:14:55 +00:00
printsupport CUPS: Refactor the code a bit 2017-12-27 16:46:38 +00:00
sql Copy the numericalPrecisionPolicy when copying the QSqlDatabase 2017-12-01 10:52:44 +00:00
testlib doc: fix signatures and missing module headers 2017-12-14 13:37:51 +00:00
tools Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
widgets QHeaderView: properly connect rows/columnsMoved 2017-12-22 16:17:56 +00:00
winmain Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
xml Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
src.pro