diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/chattab.cpp | 8 | ||||
-rw-r--r-- | src/gui/widgets/tabs/whispertab.cpp | 2 |
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" |