mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 05:22:31 -04:00
Added new friend request toaster from defnax.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5120 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
586e8bc042
commit
9501a4fe2c
14 changed files with 419 additions and 52 deletions
|
@ -37,6 +37,7 @@
|
|||
#include "toaster/ChatToaster.h"
|
||||
#include "toaster/GroupChatToaster.h"
|
||||
#include "toaster/ChatLobbyToaster.h"
|
||||
#include "toaster/FriendRequestToaster.h"
|
||||
|
||||
#include "chat/ChatDialog.h"
|
||||
#include "chat/ChatWidget.h"
|
||||
|
@ -527,6 +528,15 @@ void NotifyQt::UpdateGUI()
|
|||
toaster = new Toaster(new ChatLobbyToaster(id, QString::fromUtf8(title.c_str()), QString::fromUtf8(msg.c_str())));
|
||||
}
|
||||
break;
|
||||
case RS_POPUP_CONNECT_ATTEMPT:
|
||||
if (popupflags & RS_POPUP_CONNECT_ATTEMPT)
|
||||
{
|
||||
// id = gpgid
|
||||
// title = ssl name
|
||||
// msg = peer id
|
||||
toaster = new Toaster(new FriendRequestToaster(id, QString::fromUtf8(title.c_str()), msg));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (toaster) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue