Some more optimizations of SoundManager

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8392 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-06-07 17:35:58 +00:00
parent acfa384f7f
commit 24a07702f2
7 changed files with 33 additions and 31 deletions

View file

@ -170,7 +170,7 @@ void ChatDialog::init(ChatId id, const QString &title)
if(msg.incoming && (msg.chat_id.isPeerId() || msg.chat_id.isGxsId()))
// play sound when recv a message
soundManager->play(SOUND_NEW_CHAT_MESSAGE);
SoundManager::play(SOUND_NEW_CHAT_MESSAGE);
ChatDialog *cd = getChat(msg.chat_id, Settings->getChatFlags());
if(cd)