mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-16 21:12:31 -04:00
Added sounds when message has arrived and download was finished.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5717 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c1c9894daf
commit
b3d1e75455
5 changed files with 53 additions and 8 deletions
|
@ -640,6 +640,8 @@ void NotifyQt::UpdateGUI()
|
|||
switch(type)
|
||||
{
|
||||
case RS_POPUP_MSG:
|
||||
soundManager->play(SOUND_MESSAGE_ARRIVED);
|
||||
|
||||
if (popupflags & RS_POPUP_MSG)
|
||||
{
|
||||
toaster = new Toaster(new MessageToaster(id, QString::fromUtf8(title.c_str()), QString::fromUtf8(msg.c_str())));
|
||||
|
@ -654,6 +656,8 @@ void NotifyQt::UpdateGUI()
|
|||
}
|
||||
break;
|
||||
case RS_POPUP_DOWNLOAD:
|
||||
soundManager->play(SOUND_DOWNLOAD_READY);
|
||||
|
||||
if (popupflags & RS_POPUP_DOWNLOAD)
|
||||
{
|
||||
/* id = file hash */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue