Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent 4ed2bb5444
commit 4960e572bb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1147,12 +1147,12 @@ void Channel::modeButtonClicked(int id, bool on)
{ {
if (args.isEmpty()) if (args.isEmpty())
{ {
TQCString newPassword; TQString newPassword;
int result = KPasswordDialog::getPassword(newPassword, i18n("Channel Password")); int result = KPasswordDialog::getPassword(newPassword, i18n("Channel Password"));
if (result == KPasswordDialog::Accepted && !newPassword.isEmpty()) if (result == KPasswordDialog::Accepted && !newPassword.isEmpty())
args = newPassword; args = newPassword.utf8();
} }
} }

Loading…
Cancel
Save