summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/whispertab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-13 11:55:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-13 11:55:03 +0300
commitcf017ab50652d6d9aa7043cd18262a7f43040d45 (patch)
tree733efb377b72e73580dbf143df3f8d1797f9d1f8 /src/gui/widgets/tabs/whispertab.cpp
parent06bce926370519fbd47bf554562e6da217def498 (diff)
downloadManaVerse-cf017ab50652d6d9aa7043cd18262a7f43040d45.tar.gz
ManaVerse-cf017ab50652d6d9aa7043cd18262a7f43040d45.tar.bz2
ManaVerse-cf017ab50652d6d9aa7043cd18262a7f43040d45.tar.xz
ManaVerse-cf017ab50652d6d9aa7043cd18262a7f43040d45.zip
Remove unused chat help from code.
Diffstat (limited to 'src/gui/widgets/tabs/whispertab.cpp')
-rw-r--r--src/gui/widgets/tabs/whispertab.cpp42
1 files changed, 1 insertions, 41 deletions
diff --git a/src/gui/widgets/tabs/whispertab.cpp b/src/gui/widgets/tabs/whispertab.cpp
index 2d1e2969a..908c9ae66 100644
--- a/src/gui/widgets/tabs/whispertab.cpp
+++ b/src/gui/widgets/tabs/whispertab.cpp
@@ -89,50 +89,10 @@ void WhisperTab::handleCommand(const std::string &msg)
}
}
-void WhisperTab::showHelp()
-{
- // TRANSLATORS: whisper tab help
- chatLog(_("/ignore > Ignore the other player"));
- // TRANSLATORS: whisper tab help
- chatLog(_("/unignore > Stop ignoring the other player"));
- // TRANSLATORS: whisper tab help
- chatLog(_("/close > Close the whisper tab"));
-}
-
bool WhisperTab::handleCommand(const std::string &restrict type,
const std::string &restrict args)
{
- if (type == "help")
- {
- if (args == "close")
- {
- // TRANSLATORS: whisper tab help
- chatLog(_("Command: /close"));
- // TRANSLATORS: whisper tab help
- chatLog(_("This command closes the current whisper tab."));
- }
- else if (args == "ignore")
- {
- // TRANSLATORS: whisper tab help
- chatLog(_("Command: /ignore"));
- // TRANSLATORS: whisper tab help
- chatLog(_("This command ignores the other player regardless of "
- "current relations."));
- }
- else if (args == "unignore")
- {
- // TRANSLATORS: whisper tab help
- chatLog(_("Command: /unignore <player>"));
- // TRANSLATORS: whisper tab help
- chatLog(_("This command stops ignoring the other player if they "
- "are being ignored."));
- }
- else
- {
- return false;
- }
- }
- else if (type == "close")
+ if (type == "close")
{
if (windowContainer)
windowContainer->scheduleDelete(this);