diff options
author | Christoph Cullmann <cullmann@kde.org> | 2017-03-05 20:32:30 +0100 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2017-03-05 20:32:30 +0100 |
commit | 75fd07b5007473e61f3c39a82773524a392e4fa5 (patch) | |
tree | 9263533c24169fb5f11e57bd051ea3bf5651072a /src | |
parent | 74de1591063398696089ed88a63cd037b32c5783 (diff) | |
download | kconfig-75fd07b5007473e61f3c39a82773524a392e4fa5.tar.gz kconfig-75fd07b5007473e61f3c39a82773524a392e4fa5.tar.bz2 |
avoid useless reallocs by removing squeeze call on temporary buffer
Differential Revision: https://phabricator.kde.org/D4941
Diffstat (limited to 'src')
-rw-r--r-- | src/core/kconfigini.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/kconfigini.cpp b/src/core/kconfigini.cpp index 6ae6345a..85ece838 100644 --- a/src/core/kconfigini.cpp +++ b/src/core/kconfigini.cpp @@ -727,7 +727,6 @@ QByteArray KConfigIniBackend::stringToPrintable(const QByteArray &aString, Strin if (result.endsWith(' ') && type != GroupString) { result.replace(result.length() - 1, 1, "\\s"); } - result.squeeze(); return result; } |