diff options
| author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-05-29 12:29:55 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-05-29 14:47:58 +0000 |
| commit | aff3f7f767617c9f569ed5101a12d677233be901 (patch) | |
| tree | fa14c00989eba3308b7ea6c7e65b320f616b4098 /qmake/doc/snippets/code/doc_src_qmake-manual.cpp | |
| parent | c0ddd5fa12f696838cb1d1de3f721f19a87c8509 (diff) | |
Fix QIODevice::errorString() and other places where we expose errno
Commit e486d69133178ccce7c75cf48201ab28efb20e44 changed the behavior of
QString::fromLocal8Bit(const QByteArray &) to preserve embedded null
characters. The embedded null character from qt_error_string()'s buffer is not
something we want to preserve, it is merely a safe guard. Therefore let's strip
it away.
Change-Id: Iceac91551f51a1036a942ff30d246baea7a6fd7c
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'qmake/doc/snippets/code/doc_src_qmake-manual.cpp')
0 files changed, 0 insertions, 0 deletions
