summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-29 00:44:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-29 00:44:18 +0300
commite02996049927ca4f52852fe0e437010fd07238a3 (patch)
tree7ef583190ec9b20a7e35d880fcdc2c1c7cb51934 /src/gui
parentbe3c1cf049d3df146d18acfb7cbead2ef3f660f1 (diff)
downloadmv-e02996049927ca4f52852fe0e437010fd07238a3.tar.gz
mv-e02996049927ca4f52852fe0e437010fd07238a3.tar.bz2
mv-e02996049927ca4f52852fe0e437010fd07238a3.tar.xz
mv-e02996049927ca4f52852fe0e437010fd07238a3.zip
remove some code from deprivatedevent class.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/chatwindow.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index f6035c5dc..0bc3b9edc 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -193,7 +193,6 @@ ChatWindow::ChatWindow():
mAutoHide(false),
mShowBattleEvents(false)
{
- listen(CHANNEL_NOTICES);
listen(CHANNEL_ATTRIBUTES);
setWindowName("Chat");
@@ -960,12 +959,7 @@ void ChatWindow::keyPressed(gcn::KeyEvent &event)
void ChatWindow::processEvent(Channels channel, const DepricatedEvent &event)
{
- if (channel == CHANNEL_NOTICES)
- {
- if (event.getName() == EVENT_SERVERNOTICE && localChatTab)
- localChatTab->chatLog(event.getString("message"), BY_SERVER);
- }
- else if (channel == CHANNEL_ATTRIBUTES)
+ if (channel == CHANNEL_ATTRIBUTES)
{
if (!mShowBattleEvents)
return;