From 06300c8a3064a4f58ff7df3bdc8b91c68c25ee77 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 17:17:53 +0300 Subject: Remove unused commands.cpp and commandhandler.cpp. --- src/gui/widgets/tabs/chattab.cpp | 8 ++------ src/gui/widgets/tabs/whispertab.cpp | 2 -- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'src/gui/widgets') 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" -- cgit v1.2.3-70-g09d2