summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroup.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-20 21:49:27 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-20 21:49:27 +0000
commitb05a2dc76acc6c1ca4bfc09de37326027dbf038d (patch)
treed0b49adb34e8e163a799d83978fce8bead92d1af /indra/newview/llpanelgroup.cpp
parentea8c0d2d7113376efe32e1d9b71c4b03b2ad803f (diff)
parentf62821fadd50333c367dc5c8de2929273842f9b0 (diff)
merge from viewer2
Diffstat (limited to 'indra/newview/llpanelgroup.cpp')
-rw-r--r--indra/newview/llpanelgroup.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llpanelgroup.cpp b/indra/newview/llpanelgroup.cpp
index ce4078409a..61463ed843 100644
--- a/indra/newview/llpanelgroup.cpp
+++ b/indra/newview/llpanelgroup.cpp
@@ -102,8 +102,10 @@ LLPanelGroup::LLPanelGroup()
LLPanelGroup::~LLPanelGroup()
{
LLGroupMgr::getInstance()->removeObserver(this);
- if(LLVoiceClient::getInstance())
+ if(LLVoiceClient::instanceExists())
+ {
LLVoiceClient::getInstance()->removeObserver(this);
+ }
}
void LLPanelGroup::onOpen(const LLSD& key)