Updated a warning...

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@77 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe 2012-01-30 03:20:04 +00:00
parent 0e3b934316
commit cd6b7e8680

View File

@ -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_)