summaryrefslogtreecommitdiffstats
path: root/src/ksvnwidgets/pwstorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ksvnwidgets/pwstorage.cpp')
-rw-r--r--src/ksvnwidgets/pwstorage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ksvnwidgets/pwstorage.cpp b/src/ksvnwidgets/pwstorage.cpp
index 492e6f6..604b60f 100644
--- a/src/ksvnwidgets/pwstorage.cpp
+++ b/src/ksvnwidgets/pwstorage.cpp
@@ -152,7 +152,7 @@ bool PwStorage::getLogin(const TQString&realm,TQString&user,TQString&pw)
}
TQMap<TQString,TQString> content;
int j = mData->getWallet()->readMap(realm,content);
- if (j!=0||content.tqfind("user")==content.end()) {
+ if (j!=0||content.find("user")==content.end()) {
return true;
}
user = content["user"];
@@ -163,7 +163,7 @@ bool PwStorage::getLogin(const TQString&realm,TQString&user,TQString&pw)
bool PwStorage::getCachedLogin(const TQString&realm,TQString&user,TQString&pw)
{
TQMutexLocker lc(mData->getCacheMutex());
- PwStorageData::cache_type::ConstIterator it = mData->getLoginCache()->tqfind(realm);
+ PwStorageData::cache_type::ConstIterator it = mData->getLoginCache()->find(realm);
if (it!=mData->getLoginCache()->end()) {
user=(*it).first;
pw = (*it).second;