Diffstat (limited to 'noncore/net/opieirc/ircchanneltab.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircchanneltab.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/net/opieirc/ircchanneltab.cpp b/noncore/net/opieirc/ircchanneltab.cpp index 3267525..4675265 100644 --- a/noncore/net/opieirc/ircchanneltab.cpp +++ b/noncore/net/opieirc/ircchanneltab.cpp | |||
@@ -15,4 +15,5 @@ IRCChannelTab::IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainW | |||
15 | m_listButton = new QPushButton(">", m_textview); | 15 | m_listButton = new QPushButton(">", m_textview); |
16 | m_textview->setCornerWidget(m_listButton); | 16 | m_textview->setCornerWidget(m_listButton); |
17 | m_textview->setTextFormat(RichText); | ||
17 | connect(m_listButton, SIGNAL(clicked()), this, SLOT(toggleList())); | 18 | connect(m_listButton, SIGNAL(clicked()), this, SLOT(toggleList())); |
18 | m_list = new IRCChannelList(m_channel, hbox); | 19 | m_list = new IRCChannelList(m_channel, hbox); |
@@ -48,9 +49,7 @@ void IRCChannelTab::processCommand() { | |||
48 | if (text.startsWith("//")) | 49 | if (text.startsWith("//")) |
49 | text = text.right(text.length()-1); | 50 | text = text.right(text.length()-1); |
50 | if (session()->isSessionActive()) { | ||
51 | session()->sendMessage(m_channel, m_field->text()); | 51 | session()->sendMessage(m_channel, m_field->text()); |
52 | appendText("<<font color=\"#dd0000\">"+m_parentTab->server()->nick()+"</font>> "+IRCOutput::toHTML(m_field->text())+"<br>"); | 52 | appendText("<<font color=\"#dd0000\">"+m_parentTab->server()->nick()+"</font>> "+IRCOutput::toHTML(m_field->text())+"<br>"); |
53 | } | 53 | } |
54 | } | ||
55 | } else { | 54 | } else { |
56 | appendText("<font color=\"#ff0000\">"+tr("Disconnected")+"</font><br>"); | 55 | appendText("<font color=\"#ff0000\">"+tr("Disconnected")+"</font><br>"); |