1、解决因切分来车状态信息时,切分异常的问题
This commit is contained in:
parent
c83ec8cf6b
commit
4eb953d178
|
@ -111,7 +111,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
});
|
||||
|
||||
// 接收子线程的消息提示
|
||||
connect(this->tcpClient, &TcpClient::sendTcpInfoSignals, this, [=](QString info){
|
||||
connect(this->tcpClient, &TcpClient::sendTcpInfoSignals, this, [=](const QString& info){
|
||||
this->logInfo(info);
|
||||
this->statusInfo->setText(info);
|
||||
if (info == "链接服务端超时"
|
||||
|
@ -123,6 +123,10 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
this->videoHasTrain = false;
|
||||
}
|
||||
});
|
||||
// 接收子线程的TCP消息内容展示
|
||||
connect(this->tcpClient, &TcpClient::getTcpInfoSignals, this, [=](const QString& info){
|
||||
this->logInfo(info);
|
||||
});
|
||||
|
||||
emit connect_socket(this->socketServerConfig_.server_ip, this->socketServerConfig_.server_port);
|
||||
|
||||
|
|
Loading…
Reference in New Issue