diff --git a/src/device/DeviceManager.cpp b/src/device/DeviceManager.cpp index 01c98ae..645e296 100644 --- a/src/device/DeviceManager.cpp +++ b/src/device/DeviceManager.cpp @@ -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); } });