diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 1ae0442..d74da06 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -126,7 +126,7 @@ void MainWindow::toggle_preview(bool checked) { void MainWindow::frameCaptured(FlyCapture2::Image* image) { qDebug() << "Image Captured!"; - + QThread::sleep(5); // If preview is activated... if(ui->preview_widget->isEnabled()) displayPreview(image);