summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelavatar.cpp
diff options
context:
space:
mode:
authorSergei Litovchuk <slitovchuk@productengine.com>2010-02-22 23:20:34 +0200
committerSergei Litovchuk <slitovchuk@productengine.com>2010-02-22 23:20:34 +0200
commitf8299e28b92b06e4cd346ea134ce317b59617785 (patch)
tree785765310a2a4af98de69e2e3608e13f8cf92ed7 /indra/newview/llpanelavatar.cpp
parent56578ae0b08e03dffcf4d9a8fadccb6ee9ad6a05 (diff)
Fixed low bug (EXT-5136) Add the "Map" item to the people context menu.
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpanelavatar.cpp')
-rw-r--r--indra/newview/llpanelavatar.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/llpanelavatar.cpp b/indra/newview/llpanelavatar.cpp
index 6b07409676..b61d3ef371 100644
--- a/indra/newview/llpanelavatar.cpp
+++ b/indra/newview/llpanelavatar.cpp
@@ -48,7 +48,6 @@
#include "llscrollcontainer.h"
#include "llavatariconctrl.h"
#include "llweb.h"
-#include "llfloaterworldmap.h"
#include "llfloaterreg.h"
#include "llnotificationsutil.h"
#include "llvoiceclient.h"
@@ -449,10 +448,7 @@ void LLPanelProfileTab::scrollToTop()
void LLPanelProfileTab::onMapButtonClick()
{
- std::string name;
- gCacheName->getFullName(getAvatarId(), name);
- gFloaterWorldMap->trackAvatar(getAvatarId(), name);
- LLFloaterReg::showInstance("world_map");
+ LLAvatarActions::showOnMap(getAvatarId());
}
void LLPanelProfileTab::updateButtons()