summaryrefslogtreecommitdiff
path: root/indra/newview/llchannelmanager.cpp
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-11-16 09:03:05 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-11-16 09:03:05 -0800
commitbe666bc14f7252b5cfa0b9c2e34f170f5e24c4d3 (patch)
tree282683cfddf5c624a72cd3f21cd66f18818cba77 /indra/newview/llchannelmanager.cpp
parent211529eee9a4cbb36961af75e94af73da920d08d (diff)
parentaba8b04cfc6763ee565a5ae9929e8be044272b08 (diff)
merge from product-engine
Diffstat (limited to 'indra/newview/llchannelmanager.cpp')
-rw-r--r--indra/newview/llchannelmanager.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llchannelmanager.cpp b/indra/newview/llchannelmanager.cpp
index 914435b640..3443d8b593 100644
--- a/indra/newview/llchannelmanager.cpp
+++ b/indra/newview/llchannelmanager.cpp
@@ -220,5 +220,12 @@ void LLChannelManager::removeChannelByID(const LLUUID id)
}
//--------------------------------------------------------------------------
-
+void LLChannelManager::muteAllChannels(bool mute)
+{
+ for (std::vector<ChannelElem>::iterator it = mChannelList.begin();
+ it != mChannelList.end(); it++)
+ {
+ it->channel->setShowToasts(!mute);
+ }
+}