summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-12-03 14:17:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-12-03 14:17:22 +0900
commit4960e572bb4f5facee0b88f4cb6c8c9a31e75408 (patch)
tree479e728517eb9e1b0c7a7f8476922756cc88c72b
parent4ed2bb5444274b973d5fb2bf5a2719fc160a47e4 (diff)
downloadkonversation-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.cpp4
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();
}
}