diff options
Diffstat (limited to 'linden/indra/newview/llfloaterregioninfo.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterregioninfo.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/linden/indra/newview/llfloaterregioninfo.cpp b/linden/indra/newview/llfloaterregioninfo.cpp index 8810a5c..08bda48 100644 --- a/linden/indra/newview/llfloaterregioninfo.cpp +++ b/linden/indra/newview/llfloaterregioninfo.cpp | |||
@@ -1726,11 +1726,7 @@ void LLPanelEstateInfo::onClickRemoveEstateManager(void* user_data) | |||
1726 | //--------------------------------------------------------------------------- | 1726 | //--------------------------------------------------------------------------- |
1727 | // Kick from estate methods | 1727 | // Kick from estate methods |
1728 | //--------------------------------------------------------------------------- | 1728 | //--------------------------------------------------------------------------- |
1729 | struct LLKickFromEstateInfo | 1729 | |
1730 | { | ||
1731 | LLPanelEstateInfo *mEstatePanelp; | ||
1732 | LLUUID mAgentID; | ||
1733 | }; | ||
1734 | 1730 | ||
1735 | void LLPanelEstateInfo::onClickKickUser(void *user_data) | 1731 | void LLPanelEstateInfo::onClickKickUser(void *user_data) |
1736 | { | 1732 | { |
@@ -1757,10 +1753,7 @@ void LLPanelEstateInfo::onKickUserCommit(const std::vector<std::string>& names, | |||
1757 | LLPanelEstateInfo* self = (LLPanelEstateInfo*)userdata; | 1753 | LLPanelEstateInfo* self = (LLPanelEstateInfo*)userdata; |
1758 | if(!self) return; | 1754 | if(!self) return; |
1759 | 1755 | ||
1760 | //keep track of what user they want to kick and other misc info | 1756 | |
1761 | LLKickFromEstateInfo *kick_info = new LLKickFromEstateInfo(); | ||
1762 | kick_info->mEstatePanelp = self; | ||
1763 | kick_info->mAgentID = ids[0]; | ||
1764 | 1757 | ||
1765 | //Bring up a confirmation dialog | 1758 | //Bring up a confirmation dialog |
1766 | LLSD args; | 1759 | LLSD args; |