diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:57:02 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:57:02 -0600 |
commit | a51cd9949c4e6c726a84a61de3cfadd30cefb5c7 (patch) | |
tree | a65321bcfdb90583bcc7ef3a90fa357f6632e54c /kwallet/backend | |
parent | 984c25aa6969e55896e9a13c8e7f7b8a58991a4e (diff) | |
download | tdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.tar.gz tdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kwallet/backend')
-rw-r--r-- | kwallet/backend/kwalletbackend.cc | 2 | ||||
-rw-r--r-- | kwallet/backend/kwalletbackend.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kwallet/backend/kwalletbackend.cc b/kwallet/backend/kwalletbackend.cc index bf67ba854..59b7dda2e 100644 --- a/kwallet/backend/kwalletbackend.cc +++ b/kwallet/backend/kwalletbackend.cc @@ -422,7 +422,7 @@ int Backend::open(const TQByteArray& password) { // compare hashes int sz = encrypted.size(); for (int i = 0; i < 20; i++) { - if (testhash[i] != static_cast<const char>(encrypted.tqat(sz - 20 + i))) { + if (testhash[i] != static_cast<const char>(encrypted.at(sz - 20 + i))) { encrypted.fill(0); sha.reset(); return -8; // hash error. diff --git a/kwallet/backend/kwalletbackend.h b/kwallet/backend/kwalletbackend.h index 59df303d6..f43f56ec8 100644 --- a/kwallet/backend/kwalletbackend.h +++ b/kwallet/backend/kwalletbackend.h @@ -143,7 +143,7 @@ class MD5Digest : public TQByteArray { char x, y; for (; i < 16; ++i) { x = at(i); - y = const_cast<MD5Digest&>(r).tqat(i); + y = const_cast<MD5Digest&>(r).at(i); if (x != y) { break; } |