summaryrefslogtreecommitdiffstats
path: root/ksirc/KSOpenkSirc/open_ksirc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/KSOpenkSirc/open_ksirc.cpp')
-rw-r--r--ksirc/KSOpenkSirc/open_ksirc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksirc/KSOpenkSirc/open_ksirc.cpp b/ksirc/KSOpenkSirc/open_ksirc.cpp
index 423e90c0..54d1f7f9 100644
--- a/ksirc/KSOpenkSirc/open_ksirc.cpp
+++ b/ksirc/KSOpenkSirc/open_ksirc.cpp
@@ -233,7 +233,7 @@ TQString open_ksirc::encryptPassword( const TQString &password )
memcpy(result.data(), kapp->randomString(utf8Length).latin1(), utf8Length);
for (unsigned int i = 0; i < utf8Length; ++i)
result[i + utf8Length] = utf8[i] ^ result[i];
- return TQString::tqfromLatin1(KCodecs::base64Encode(result));
+ return TQString::fromLatin1(KCodecs::base64Encode(result));
}
TQString open_ksirc::decryptPassword( const TQString &scrambled )