summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-27 07:32:02 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-27 07:32:02 -0600
commit9d68ee18a9d1f37cbdf4b984d6db72f7fc59cf51 (patch)
tree8928f298da71ff16f9177aa7227b9dcc97ae9d01 /src/gui/widgets/chattab.cpp
parent268e47c0d3791483f3d0066e24c6686c3c938da9 (diff)
downloadmana-client-9d68ee18a9d1f37cbdf4b984d6db72f7fc59cf51.tar.gz
mana-client-9d68ee18a9d1f37cbdf4b984d6db72f7fc59cf51.tar.bz2
mana-client-9d68ee18a9d1f37cbdf4b984d6db72f7fc59cf51.tar.xz
mana-client-9d68ee18a9d1f37cbdf4b984d6db72f7fc59cf51.zip
Add a close command to WhisperTab
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r--src/gui/widgets/chattab.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index 120d4e21..46116a37 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -290,7 +290,7 @@ void ChatTab::chatSend(std::string &msg)
}
else
{
- commandHandler->handleCommand(std::string(msg, 1));
+ handleCommand(std::string(msg, 1));
}
}
@@ -322,3 +322,8 @@ void ChatTab::sendChat(std::string &msg) {
return;
#endif
}
+
+void ChatTab::handleCommand(std::string msg)
+{
+ commandHandler->handleCommand(msg);
+}