diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-10-26 00:38:00 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-10-26 00:38:00 +0000 |
commit | fb993c22ae46aba68c02e3c669804a25b24d2c73 (patch) | |
tree | 955063eda932b1f9f2264acce54bac71dcc8572d /src/gui/chat.cpp | |
parent | db8b740bfa402c929247efd954096fac7b72b2a3 (diff) | |
download | mana-fb993c22ae46aba68c02e3c669804a25b24d2c73.tar.gz mana-fb993c22ae46aba68c02e3c669804a25b24d2c73.tar.bz2 mana-fb993c22ae46aba68c02e3c669804a25b24d2c73.tar.xz mana-fb993c22ae46aba68c02e3c669804a25b24d2c73.zip |
Removed some completely useless code from the chat class.
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 10fc1577..44b332b1 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -48,8 +48,6 @@ ChatWindow::ChatWindow(Network *network): mTmpVisible(false) { setWindowName("Chat"); - mItems = 0; - mItemsKeep = 20; setResizable(true); setDefaultSize(0, (windowContainer->getHeight() - 123), 600, 100); @@ -98,10 +96,6 @@ ChatWindow::logic() void ChatWindow::chatLog(std::string line, int own) { - // Delete overhead from the end of the list - while ((int) mChatlog.size() > mItemsKeep) { - mChatlog.pop_back(); - } CHATLOG tmp; tmp.own = own; |