summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-03 23:22:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-03 23:22:30 +0300
commit7ba882b543b45794301f2490fceb84b0dd9c60e1 (patch)
tree2529f2d5518b146760fe7c245fb6b99ab257cb99
parentf24512ff105dce01260d1a484c0ce1aa89e108ce (diff)
downloadmanaverse-7ba882b543b45794301f2490fceb84b0dd9c60e1.tar.gz
manaverse-7ba882b543b45794301f2490fceb84b0dd9c60e1.tar.bz2
manaverse-7ba882b543b45794301f2490fceb84b0dd9c60e1.tar.xz
manaverse-7ba882b543b45794301f2490fceb84b0dd9c60e1.zip
Remove some commented code.
-rw-r--r--src/gui/socialwindow.cpp55
1 files changed, 0 insertions, 55 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 876c98d32..74fcfc851 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -262,39 +262,6 @@ public:
void action(const gcn::ActionEvent &event A_UNUSED)
{
-/*
- if (event.getId() == "do invite")
- {
- std::string name = mInviteDialog->getText();
- Net::getGuildHandler()->invite(mGuild->getId(), name);
-
- if (localChatTab)
- {
- localChatTab->chatLog(strprintf(
- _("Invited user %s to guild %s."),
- name.c_str(), mGuild->getName().c_str()), BY_SERVER);
- }
- mInviteDialog = 0;
- }
- else if (event.getId() == "~do invite")
- {
- mInviteDialog = 0;
- }
- else if (event.getId() == "yes")
- {
- Net::getGuildHandler()->leave(mGuild->getId());
- if (localChatTab)
- {
- localChatTab->chatLog(strprintf(_("Guild %s quit requested."),
- mGuild->getName().c_str()), BY_SERVER);
- }
- mConfirmDialog = 0;
- }
- else if (event.getId() == "~yes")
- {
- mConfirmDialog = 0;
- }
-*/
}
void updateList()
@@ -312,26 +279,10 @@ public:
protected:
void invite()
{
-/*
- mInviteDialog = new TextDialog(_("Member Invite to Guild"),
- strprintf(_("Who would you like to invite to guild %s?"),
- mGuild->getName().c_str()),
- socialWindow);
- mInviteDialog->setActionEventId("do invite");
- mInviteDialog->addActionListener(this);
-*/
}
void leave()
{
-/*
- mConfirmDialog = new ConfirmDialog(_("Leave Guild?"),
- strprintf(_("Are you sure you want to leave guild %s?"),
- mGuild->getName().c_str()),
- socialWindow);
-
- mConfirmDialog->addActionListener(this);
-*/
}
private:
@@ -435,12 +386,6 @@ private:
Party *mParty;
};
-/*class BuddyTab : public SocialTab
-{
- // TODO?
-};*/
-
-
class BeingsListModal : public AvatarListModel
{
public: