diff options
author | Laurent Montel <montel@kde.org> | 2019-08-28 13:58:56 +0200 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2019-08-28 13:59:13 +0200 |
commit | b0191f68562d896a3e962a534ff0c26ae72de2de (patch) | |
tree | 77e3480f9ac0f352e95c269dfff8d70cad7d0a1e /src/core/kconfigini.cpp | |
parent | b4d33f4419f8f8626f690e11e46dcff25586b35b (diff) | |
download | kconfig-b0191f68562d896a3e962a534ff0c26ae72de2de.tar.gz kconfig-b0191f68562d896a3e962a534ff0c26ae72de2de.tar.bz2 |
GIT_SILENT: use QLatin1String
Diffstat (limited to 'src/core/kconfigini.cpp')
-rw-r--r-- | src/core/kconfigini.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/kconfigini.cpp b/src/core/kconfigini.cpp index d07b59c6..798ce571 100644 --- a/src/core/kconfigini.cpp +++ b/src/core/kconfigini.cpp @@ -230,7 +230,7 @@ KConfigIniBackend::parseConfig(const QByteArray ¤tLocale, KEntryMap &entry break; case 'd': entryOptions |= KEntryMap::EntryDeleted; - aKey = aKey.left(start); + aKey.truncate(start); printableToString(&aKey, file, lineNo); entryMap.setEntry(currentGroup, aKey.toByteArray(), QByteArray(), entryOptions); goto next_line; |