diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-06-08 21:49:48 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@theqtcompany.com> | 2015-06-14 15:19:31 +0000 |
commit | 61ca116a2eaf8a275803524ade494ace6b9cb812 (patch) | |
tree | 96eb327d81ee7681d3742fcb9adac597dbfff10f /examples/corelib/ipc/localfortuneclient/client.cpp | |
parent | d3379cee8a81afaf0f0691d248a399c69025a68f (diff) |
QTest: Make qExtractTestData() return the created QTemporaryDirv5.5.0-rc1
... and enable auto-deletion on it.
This allows users of the function to get rid of their own
cleanup code. They just need to keep the shared pointer alive
for as long as they need it.
Drive-by changes:
- replaced QStringLiterals that were only used as the rhs of op+
- replaced an instance of mid() used as the rhs of op+ with midRef()
- enabled NRVO
Change-Id: I161d39461e020c9e8d473c0810dea2109fe0d62d
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'examples/corelib/ipc/localfortuneclient/client.cpp')
0 files changed, 0 insertions, 0 deletions