Preview error handle.2

This commit is contained in:
Krad
2022-06-02 14:22:09 +08:00
parent 53c92055a6
commit 0b52b682a5

View File

@@ -179,6 +179,10 @@ void DeviceManager::initDevice() {
TRIGGER_EVENT(GUIEvents::ResponsePreviewData, nullptr, (QObject*)(&bytes));
qDebug() << "Preview data response event end!";
}
else{
previewing = false;
QThread::sleep(3);
}
QThread::msleep(100);
}
});