diff options
Diffstat (limited to 'src/core/kcoreconfigskeleton.cpp')
-rw-r--r-- | src/core/kcoreconfigskeleton.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/kcoreconfigskeleton.cpp b/src/core/kcoreconfigskeleton.cpp index ab968023..e1c5c1dd 100644 --- a/src/core/kcoreconfigskeleton.cpp +++ b/src/core/kcoreconfigskeleton.cpp @@ -17,10 +17,11 @@ static QString obscuredString(const QString &str) { QString result; const QChar *unicode = str.unicode(); - for (int i = 0; i < str.length(); ++i) + for (int i = 0; i < str.length(); ++i) { // yes, no typo. can't encode ' ' or '!' because // they're the unicode BOM. stupid scrambling. stupid. result += (unicode[i].unicode() <= 0x21) ? unicode[i] : QChar(0x1001F - unicode[i].unicode()); + } return result; } |