diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-10-09 11:40:05 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-29 16:04:38 +0100 |
commit | 11e93372df2ebe8700ebb39fca3709e3a6c3d399 (patch) | |
tree | 1f01950f1cf150c25218bdde1e84b02e96f7a573 /tests/auto | |
parent | a199dd133e15374552c4238b3fd1fb0e83a59988 (diff) |
Make the localHostName() copy function return QByteArray
This avoids one extra memory allocation when creating the lock file. The
number of memory allocations when checking the file are still the same.
Change-Id: I16a2fdb7a5458bdc66f8ad1c602582b5698a5b5c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions