mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 03:49:29 -04:00
-replaced MessageToaster with OnlineToaster for POPUP_CONNECT
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@672 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2ac326f076
commit
074e4adbf3
7 changed files with 55 additions and 66 deletions
|
@ -13,6 +13,7 @@
|
|||
#include "gui/ChannelsDialog.h"
|
||||
#include "gui/MessengerWindow.h"
|
||||
|
||||
#include "gui/toaster/OnlineToaster.h"
|
||||
#include "gui/toaster/MessageToaster.h"
|
||||
#include "gui/toaster/ChatToaster.h"
|
||||
#include "gui/toaster/CallToaster.h"
|
||||
|
@ -213,9 +214,9 @@ static time_t lastTs = 0;
|
|||
default:
|
||||
case RS_POPUP_CONNECT:
|
||||
{
|
||||
MessageToaster * msgToaster = new MessageToaster();
|
||||
msgToaster->setMessage(QString::fromStdString(realmsg));
|
||||
msgToaster->show();
|
||||
OnlineToaster * onlineToaster = new OnlineToaster();
|
||||
onlineToaster->setMessage(QString::fromStdString(realmsg));
|
||||
onlineToaster->show();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue