From 4960e572bb4f5facee0b88f4cb6c8c9a31e75408 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 3 Dec 2018 14:17:22 +0900 Subject: Adapted to new KPasswordEdit::password() signature. This relates to bug 2961. Signed-off-by: Michele Calgaro --- konversation/src/channel.cpp | 4 ++-- 1 file 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(); } } -- cgit v1.2.3