summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();
}
}