diff options
author | Steve Bennetts <steve@lindenlab.com> | 2009-11-16 09:03:05 -0800 |
---|---|---|
committer | Steve Bennetts <steve@lindenlab.com> | 2009-11-16 09:03:05 -0800 |
commit | be666bc14f7252b5cfa0b9c2e34f170f5e24c4d3 (patch) | |
tree | 282683cfddf5c624a72cd3f21cd66f18818cba77 /indra/newview/llchannelmanager.cpp | |
parent | 211529eee9a4cbb36961af75e94af73da920d08d (diff) | |
parent | aba8b04cfc6763ee565a5ae9929e8be044272b08 (diff) |
merge from product-engine
Diffstat (limited to 'indra/newview/llchannelmanager.cpp')
-rw-r--r-- | indra/newview/llchannelmanager.cpp | 9 |
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); + } +} |