aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2017-03-05 20:32:30 +0100
committerChristoph Cullmann <cullmann@kde.org>2017-03-05 20:32:30 +0100
commit75fd07b5007473e61f3c39a82773524a392e4fa5 (patch)
tree9263533c24169fb5f11e57bd051ea3bf5651072a /src
parent74de1591063398696089ed88a63cd037b32c5783 (diff)
downloadkconfig-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.cpp1
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;
}