From 2b8e82a1f4503ae88ed3f7a97cad74d84c925d33 Mon Sep 17 00:00:00 2001 From: Aimee Linden Date: Thu, 8 Apr 2010 12:37:12 +0100 Subject: Fix-up some breakage from backing out the SLE merge. Was causing a crash on viewer exit if the Voice Control Panel was left open and detached. --- indra/newview/llcallfloater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llcallfloater.cpp') diff --git a/indra/newview/llcallfloater.cpp b/indra/newview/llcallfloater.cpp index 44f1cefafe..bed5c01d7a 100644 --- a/indra/newview/llcallfloater.cpp +++ b/indra/newview/llcallfloater.cpp @@ -133,7 +133,7 @@ LLCallFloater::~LLCallFloater() if(LLVoiceClient::instanceExists()) { - gVoiceClient->removeObserver(this); + LLVoiceClient::instance().removeObserver(this); } LLTransientFloaterMgr::getInstance()->removeControlView(this); } -- cgit v1.2.3