summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 17:17:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 17:28:44 +0300
commit06300c8a3064a4f58ff7df3bdc8b91c68c25ee77 (patch)
treedf1dea567a635f4a7722408ec10badcbe5528bcc /src/gui/widgets
parent6f475537cb5e12f7088a401c4fb5b583bbabc580 (diff)
downloadplus-06300c8a3064a4f58ff7df3bdc8b91c68c25ee77.tar.gz
plus-06300c8a3064a4f58ff7df3bdc8b91c68c25ee77.tar.bz2
plus-06300c8a3064a4f58ff7df3bdc8b91c68c25ee77.tar.xz
plus-06300c8a3064a4f58ff7df3bdc8b91c68c25ee77.zip
Remove unused commands.cpp and commandhandler.cpp.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/chattab.cpp8
-rw-r--r--src/gui/widgets/tabs/whispertab.cpp2
2 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/widgets/tabs/chattab.cpp b/src/gui/widgets/tabs/chattab.cpp
index 44ab6d89c..4b37e2ada 100644
--- a/src/gui/widgets/tabs/chattab.cpp
+++ b/src/gui/widgets/tabs/chattab.cpp
@@ -23,8 +23,6 @@
#include "gui/widgets/tabs/chattab.h"
#include "chatlogger.h"
-#include "commands.h"
-#include "commandhandler.h"
#include "configuration.h"
#include "settings.h"
#include "soundconsts.h"
@@ -438,15 +436,13 @@ void ChatTab::handleInput(const std::string &msg)
mChannelName);
}
-void ChatTab::handleCommand(const std::string &msg)
+void ChatTab::handleCommand(const std::string &msg A_UNUSED)
{
- if (commandHandler)
- commandHandler->handleCommands(msg, this);
}
void ChatTab::handleHelp(const std::string &msg)
{
- if (commandHandler)
+ if (helpWindow)
helpWindow->search(msg);
}
diff --git a/src/gui/widgets/tabs/whispertab.cpp b/src/gui/widgets/tabs/whispertab.cpp
index ad5ea6564..a67b9450c 100644
--- a/src/gui/widgets/tabs/whispertab.cpp
+++ b/src/gui/widgets/tabs/whispertab.cpp
@@ -23,8 +23,6 @@
#include "gui/widgets/tabs/whispertab.h"
#include "chatlogger.h"
-#include "commandhandler.h"
-#include "commands.h"
#include "being/localplayer.h"