diff options
author | Alexei Arabadji <aarabadji@productengine.com> | 2009-11-16 14:36:46 +0200 |
---|---|---|
committer | Alexei Arabadji <aarabadji@productengine.com> | 2009-11-16 14:36:46 +0200 |
commit | 59d575fe615bf14a10056c9b9fe0c109ec2c103e (patch) | |
tree | 13db5a54cf5fe09c4d26860ef6b03dc22f2848cd /indra/newview/llchannelmanager.cpp | |
parent | 154f501cb19ee99ab9fdb41b918478f18b220f40 (diff) | |
parent | 89e917599b7d24e2fc7ec9c58522756f4877ad92 (diff) |
Automated merge with https://hg.aws.productengine.com/secondlife/viewer-2-0/
--HG--
branch : 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); + } +} |