summaryrefslogtreecommitdiffstats
path: root/src/password.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/password.cpp')
-rw-r--r--src/password.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/password.cpp b/src/password.cpp
index ee48087..39cf18d 100644
--- a/src/password.cpp
+++ b/src/password.cpp
@@ -60,7 +60,7 @@ TQString PasswordDlg::key() const
TQString s = w->keyCombo->currentText();
if(s.length() < 16)
return "";
- int n = s.tqfindRev(' ');
+ int n = s.findRev(' ');
if(n < 0)
return "";
return s.mid(n+1);
@@ -75,7 +75,7 @@ void PasswordDlg::setKey(const TQString& key)
{
for(int i = 0; i < w->keyCombo->count(); ++i)
{
- if(w->keyCombo->text(i).tqfind(key) >= 0)
+ if(w->keyCombo->text(i).find(key) >= 0)
{
w->keyCombo->setCurrentItem(i);
return;