summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelteleporthistory.cpp
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2011-09-26 18:51:43 -0700
committerRichard Nelson <richard@lindenlab.com>2011-09-26 18:51:43 -0700
commit7fd0e8c69e6dced4a770da4fac10c154eac5899f (patch)
tree42da3dccaa4ef4c9025e34341e633eae305d3c25 /indra/newview/llpanelteleporthistory.cpp
parent756532ba8a0a29ca7e5991d8a4f48ddac3bf06ac (diff)
fixed toolbar context menu
deprecated pointless LLView::deleteViewByHandle
Diffstat (limited to 'indra/newview/llpanelteleporthistory.cpp')
-rw-r--r--indra/newview/llpanelteleporthistory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelteleporthistory.cpp b/indra/newview/llpanelteleporthistory.cpp
index 9b35e78134..dfa8c75493 100644
--- a/indra/newview/llpanelteleporthistory.cpp
+++ b/indra/newview/llpanelteleporthistory.cpp
@@ -388,7 +388,7 @@ LLTeleportHistoryPanel::LLTeleportHistoryPanel()
LLTeleportHistoryPanel::~LLTeleportHistoryPanel()
{
LLTeleportHistoryFlatItemStorage::instance().purge();
- LLView::deleteViewByHandle(mGearMenuHandle);
+ delete mGearMenuHandle.get();
}
BOOL LLTeleportHistoryPanel::postBuild()