|
|
@ -1116,14 +1116,12 @@ bool KBgEngineFIBS::queryConnection(const bool newlogin)
|
|
|
|
|
|
|
|
|
|
|
|
first = true;
|
|
|
|
first = true;
|
|
|
|
do {
|
|
|
|
do {
|
|
|
|
TQCString password;
|
|
|
|
|
|
|
|
if (newlogin)
|
|
|
|
if (newlogin)
|
|
|
|
ret = (KPasswordDialog::getNewPassword(password, text) == KPasswordDialog::Accepted);
|
|
|
|
ret = (KPasswordDialog::getNewPassword(msg, text) == KPasswordDialog::Accepted);
|
|
|
|
else
|
|
|
|
else
|
|
|
|
ret = (KPasswordDialog::getPassword(password, text) == KPasswordDialog::Accepted);
|
|
|
|
ret = (KPasswordDialog::getPassword(msg, text) == KPasswordDialog::Accepted);
|
|
|
|
|
|
|
|
|
|
|
|
password.stripWhiteSpace();
|
|
|
|
msg.stripWhiteSpace();
|
|
|
|
msg = password;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (first) {
|
|
|
|
if (first) {
|
|
|
|
text += i18n("The password may not contain colons or spaces!");
|
|
|
|
text += i18n("The password may not contain colons or spaces!");
|
|
|
|