Commit 02df32fc by “liusq”

修改mqtt断线07

parent 97c5d870
......@@ -1074,7 +1074,7 @@ int CameraHandle::resetGb28181(QString &uuiq){
// 阻塞等待5秒
//QThread::sleep(5);
QTimer* timer = new QTimer(this);
timer->moveToThread(this->thread());
// 连接 QTimer 的超时信号到匿名槽函数
QObject::connect(timer, &QTimer::timeout, [this, &is_wifi, &result, &uuiq, &connectedCameraHandle, &newHandle, &device, &old, timer]() {
QString old_ip;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment