Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 174678
Collapse All | Expand All

(-)kmaccount.cpp (-1 / +3 lines)
Lines 399-405 QString KMAccount::encryptStr(const QStr Link Here
399
{
399
{
400
  QString result;
400
  QString result;
401
  for (uint i = 0; i < aStr.length(); i++)
401
  for (uint i = 0; i < aStr.length(); i++)
402
    result += (aStr[i].unicode() < 0x20) ? aStr[i] :
402
    /* yes, no typo. can't encode ' ' or '!' because
403
       they're the unicode BOM. stupid scrambling. stupid. */
404
    result += (aStr[i].unicode() <= 0x21 ) ? aStr[i] :
403
      QChar(0x1001F - aStr[i].unicode());
405
      QChar(0x1001F - aStr[i].unicode());
404
  return result;
406
  return result;
405
}
407
}

Return to bug 174678