summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
commit853757df15383c2e9cc33023dc04a256c458e671 (patch)
treef12cf49d6ddc17b6b4fc96d066359872b108f144 /src/gui/socialwindow.cpp
parent8e57e80d73a58077615924d50ac206d19efddae6 (diff)
downloadmanaverse-853757df15383c2e9cc33023dc04a256c458e671.tar.gz
manaverse-853757df15383c2e9cc33023dc04a256c458e671.tar.bz2
manaverse-853757df15383c2e9cc33023dc04a256c458e671.tar.xz
manaverse-853757df15383c2e9cc33023dc04a256c458e671.zip
fix some code style by cpplint.
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index b787c685e..b0a80eaa4 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -219,7 +219,6 @@ public:
void invite()
{
- // TODO - Give feedback on whether the invite succeeded
mInviteDialog = new TextDialog(_("Member Invite to Guild"),
strprintf(_("Who would you like to invite to guild %s?"),
mGuild->getName().c_str()),
@@ -393,7 +392,6 @@ public:
void invite()
{
- // TODO - Give feedback on whether the invite succeeded
mInviteDialog = new TextDialog(_("Member Invite to Party"),
strprintf(_("Who would you like to invite to party %s?"),
mParty->getName().c_str()),
@@ -1506,10 +1504,7 @@ void SocialWindow::action(const gcn::ActionEvent &event)
std::string name = mGuildCreateDialog->getText();
if (name.size() > 16)
- {
- // TODO : State too many characters in input.
return;
- }
Net::getGuildHandler()->create(name);
if (localChatTab)
@@ -1529,10 +1524,7 @@ void SocialWindow::action(const gcn::ActionEvent &event)
std::string name = mPartyCreateDialog->getText();
if (name.size() > 16)
- {
- // TODO : State too many characters in input.
return;
- }
Net::getPartyHandler()->create(name);
if (localChatTab)