Version: 0.16 (using KDE KDE 3.3.1) OS: Linux You can enter newlines (enter) in the topic edit box in the channel options dialog. Lines after the first one are send "raw" to the server
CVS commit by cartman: Replace \n with a space when setting topic BUG:97357 M +1 -1 channeloptionsdialog.cpp 1.13 --- kdeextragear-2/konversation/konversation/channeloptionsdialog.cpp #1.12:1.13 @@ -110,5 +110,5 @@ void ChannelOptionsDialog::toggleAdvance QString ChannelOptionsDialog::topic() { - return m_widget->topicEdit->text(); + return m_widget->topicEdit->text().replace("\n"," "); }
commit a47f91d73e43760f616a70c306b463c2d06ad925 Author: İsmail Dönmez <ismail@kde.org> Date: Tue Jan 18 18:44:16 2005 +0000 Replace \n with a space when setting topic BUG:97357 svn path=/trunk/kdeextragear-2/konversation/; revision=379863 diff --git a/konversation/channeloptionsdialog.cpp b/konversation/channeloptionsdialog.cpp index 038979e..2095bf0 100644 --- a/konversation/channeloptionsdialog.cpp +++ b/konversation/channeloptionsdialog.cpp @@ -109,7 +109,7 @@ void ChannelOptionsDialog::toggleAdvancedModes() QString ChannelOptionsDialog::topic() { - return m_widget->topicEdit->text(); + return m_widget->topicEdit->text().replace("\n"," "); } void ChannelOptionsDialog::refreshTopicHistory()