mirror of
https://github.com/ChronosX88/Influence-cjdns.git
synced 2024-11-23 15:42:18 +00:00
Cancel of fix 7100d5f9b5
This commit is contained in:
parent
b9cb29f7d7
commit
6019b36642
@ -58,7 +58,7 @@ void MainWindow::peerReceiverAvailable()
|
|||||||
{
|
{
|
||||||
receive = true;
|
receive = true;
|
||||||
int ret = QMessageBox::information(this, tr("Peer Available!"),
|
int ret = QMessageBox::information(this, tr("Peer Available!"),
|
||||||
tr("Peer Available!\n Do you want to create chat?"), QMessageBox::Yes | QMessageBox::No);
|
tr("Peer Available!\nDo you want to create chat?"), QMessageBox::Yes | QMessageBox::No);
|
||||||
if(ret == QMessageBox::Yes)
|
if(ret == QMessageBox::Yes)
|
||||||
{
|
{
|
||||||
createChatSendDatagram(*handler->peerReceiver);
|
createChatSendDatagram(*handler->peerReceiver);
|
||||||
@ -135,14 +135,5 @@ void MainWindow::peerReceiverLeftFromChatMethod(QString peerID, QString chatID)
|
|||||||
{
|
{
|
||||||
pChatWindows.at(i)->peerReceiverLeftFromChat();
|
pChatWindows.at(i)->peerReceiverLeftFromChat();
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
QString msg;
|
|
||||||
msg += tr("Peer ");
|
|
||||||
msg += peerID;
|
|
||||||
msg += tr(" left from chat ");
|
|
||||||
msg += chatID;
|
|
||||||
QMessageBox::warning(this, tr("Peer receiver left from chat!"), msg, QMessageBox::Ok);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user