diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-01 22:23:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-01 22:23:33 +0900 |
commit | 28c4bcc63c317607beaaeb7c4e7359d33f24f29a (patch) | |
tree | 95a18011073c645a08941ce03b07ffc411f56240 | |
parent | 8da8cc1ae4745af3443005c69d69cc3c5cee3be1 (diff) | |
download | tdegames-28c4bcc63c317607beaaeb7c4e7359d33f24f29a.tar.gz tdegames-28c4bcc63c317607beaaeb7c4e7359d33f24f29a.zip |
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kbackgammon/engines/fibs/kbgfibs.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/kbackgammon/engines/fibs/kbgfibs.cpp b/kbackgammon/engines/fibs/kbgfibs.cpp index ab970518..08efd4bc 100644 --- a/kbackgammon/engines/fibs/kbgfibs.cpp +++ b/kbackgammon/engines/fibs/kbgfibs.cpp @@ -1116,14 +1116,12 @@ bool KBgEngineFIBS::queryConnection(const bool newlogin) first = true; do { - TQCString password; if (newlogin) - ret = (KPasswordDialog::getNewPassword(password, text) == KPasswordDialog::Accepted); + ret = (KPasswordDialog::getNewPassword(msg, text) == KPasswordDialog::Accepted); else - ret = (KPasswordDialog::getPassword(password, text) == KPasswordDialog::Accepted); + ret = (KPasswordDialog::getPassword(msg, text) == KPasswordDialog::Accepted); - password.stripWhiteSpace(); - msg = password; + msg.stripWhiteSpace(); if (first) { text += i18n("The password may not contain colons or spaces!"); |