fixed bug due to deleting video capture device

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7456 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-07-17 14:13:02 +00:00
parent c30318f0c0
commit ee0c48b912

View File

@ -214,12 +214,7 @@ void VOIPChatWidgetHolder::toggleVideoCapture()
}
else
{
if(inputVideoDevice)
{
delete inputVideoDevice ;
inputVideoDevice = NULL ;
}
inputVideoDevice->stop() ;
videoCaptureToggleButton->setToolTip(tr("Activate camera"));
}
}