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:
parent
0e3b934316
commit
cd6b7e8680
@ -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_)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user