Mercurial > hg > octave-terminal
changeset 13505:3a26a0ad2df9
Repaired nick completion.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Sun, 17 Jul 2011 20:37:14 +0200 |
parents | 13e3d60aff2d |
children | c70511cf64ee |
files | gui/src/IRCWidget.cpp |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/src/IRCWidget.cpp +++ b/gui/src/IRCWidget.cpp @@ -146,6 +146,7 @@ m_chatWindow->append(QString("%1 is now known as %2.").arg(oldNick).arg(newNick)); m_nickList.removeAll(QString(oldNick)); m_nickList.append(QString(newNick)); + updateNickCompleter(); } void IRCWidget::nickPopup() { @@ -159,10 +160,14 @@ void IRCWidget::showJoin(const char *nick, const char *channel) { m_chatWindow->append(QString("<i>%1 has joined %2.</i>").arg(nick).arg(channel)); + m_nickList.append(QString(nick)); + updateNickCompleter(); } void IRCWidget::showQuit(const char *nick, const char *reason) { m_chatWindow->append(QString("<i>%1 has quit.(%2).</i>").arg(nick).arg(reason)); + m_nickList.removeAll(QString(nick)); + updateNickCompleter(); } void IRCWidget::sendMessage(QString message) {