|author||Marc Mutz <firstname.lastname@example.org>||2016-01-11 16:10:00 +0100|
|committer||Marc Mutz <email@example.com>||2016-01-12 06:13:05 +0000|
Revert "QString: preserve embedded NULs when converting from QByteArray"
This partially reverts commit e486d69133178ccce7c75cf48201ab28efb20e44. It broke too many users, even though all of them deserved to be broken. The new functionality will be provided by differently-named functions, where possible (problem: equality operators). I did not revert the fix for the off-by-one error in tst_qtextdocumentfragment.cpp. I also didn't revert the change in the inequality relational operators, since for all strings s1, s2 and s2' where s2' is s2 truncated at the first NUL, s1 < s2 ⟺ s1 < s2' (since NUL < c for any c != 0), and, trivially, for ≤, >, ≥, too. This does not hold for = and ≠, of course, since "foo\0bar" ≠ "foo". [ChangeLog][Important Behavior Changes][EDITORIAL] Reverted: All conversions from QByteArray to QString now preserve embedded NULs... Change-Id: If4b47048b39ae5be6ed08e6d91809626a67ea7f5 Reviewed-by: Thiago Macieira <firstname.lastname@example.org>
Diffstat (limited to 'src/src.pro')
0 files changed, 0 insertions, 0 deletions