diff options
author | David Schulz <david.schulz@qt.io> | 2019-08-26 13:21:46 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2019-09-12 04:35:38 +0000 |
commit | a21df46481f580d0f74b5f82f3f3ce1df2445129 (patch) | |
tree | 0024e2d7dbe819c3f02b430141d2430d29181986 /doc | |
parent | 2aca0c1b28fc0160fb1ed54c90bc5ffc96bd6c1b (diff) |
Utils: do not use QIODevice::Text open mode when saving text documents
The mode replaces "\n" with "\r\n" in the byte array after encoding the
text, resulting in file contents that cannot be decoded.
Change-Id: I8010df56f28a479d516b8bcb887749905fd162ce
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions