diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 71a0bf1..42cfe4c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -135,5 +135,14 @@ void MainWindow::peerReceiverLeftFromChatMethod(QString peerID, QString chatID) { 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); + } } }