diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-03 14:17:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-03 14:17:22 +0900 |
commit | 4960e572bb4f5facee0b88f4cb6c8c9a31e75408 (patch) | |
tree | 479e728517eb9e1b0c7a7f8476922756cc88c72b | |
parent | 4ed2bb5444274b973d5fb2bf5a2719fc160a47e4 (diff) | |
download | konversation-4960e572bb4f5facee0b88f4cb6c8c9a31e75408.tar.gz konversation-4960e572bb4f5facee0b88f4cb6c8c9a31e75408.zip |
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | konversation/src/channel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/konversation/src/channel.cpp b/konversation/src/channel.cpp index e2cc516..3fa2c3e 100644 --- a/konversation/src/channel.cpp +++ b/konversation/src/channel.cpp @@ -1147,12 +1147,12 @@ void Channel::modeButtonClicked(int id, bool on) { if (args.isEmpty()) { - TQCString newPassword; + TQString newPassword; int result = KPasswordDialog::getPassword(newPassword, i18n("Channel Password")); if (result == KPasswordDialog::Accepted && !newPassword.isEmpty()) - args = newPassword; + args = newPassword.utf8(); } } |