diff --git a/src/Camera.cpp b/src/Camera.cpp index bb20d4f3..5e903065 100644 --- a/src/Camera.cpp +++ b/src/Camera.cpp @@ -80,7 +80,7 @@ bool Camera::start() if(!capture_) { QString videoFile = Settings::getCamera_videoFilePath(); - if(QFile::exists(videoFile)) + if(!videoFile.isEmpty()) { capture_ = cvCaptureFromAVI(videoFile.toStdString().c_str()); if(!capture_)