diff --git a/src/chatwindow.cpp b/src/chatwindow.cpp index 8252de6..d17d94e 100644 --- a/src/chatwindow.cpp +++ b/src/chatwindow.cpp @@ -12,6 +12,7 @@ ChatWindow::ChatWindow(QString pID, QString cUUID, Handler *h, Network *n, QWidg handler = h; network = n; ui->peerIDLabel->setText(ui->peerIDLabel->text() + pID); + ui->chatIDLabel->setText(ui->chatIDLabel->text() + cUUID); connect(ui->sendMsgButton, &QAbstractButton::clicked, this, &ChatWindow::sendMsgButtonClicked); } ChatWindow::~ChatWindow() diff --git a/src/chatwindow.ui b/src/chatwindow.ui index 9486e3d..76458d5 100644 --- a/src/chatwindow.ui +++ b/src/chatwindow.ui @@ -14,7 +14,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -40,13 +40,20 @@ - + true + + + + ChatID: + + +