diff options
author | Adam Sowa <[email protected]> | 2019-10-31 08:52:26 +0100 |
---|---|---|
committer | Adam Sowa <[email protected]> | 2019-11-01 07:53:07 +0000 |
commit | efaa4aa2a1452cf73bc3117c49d1345a4106fd57 (patch) | |
tree | 837bf0cc690bc4bf1ffaac9beda8fd742ae4c9c0 /src/network/access/qnetworkreply.cpp | |
parent | 312ff6f83be2ba5b577acfe9872f5e20b3430b6a (diff) |
QFile::decodeName(const char *): don't construct QByteArray but use the argument directly
Use QString::fromLocal8Bit(const QByteArray &str) instead of constructing QByteArray to avoid memory allocation and strcpy.
Change-Id: I32bbb47fbc45681c621adaebe8f8574d8f8ad6bf
Fixes: QTBUG-79644
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/network/access/qnetworkreply.cpp')
0 files changed, 0 insertions, 0 deletions