mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-19 12:24:53 -04:00
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:
parent
c30318f0c0
commit
ee0c48b912
1 changed files with 1 additions and 6 deletions
|
@ -214,12 +214,7 @@ void VOIPChatWidgetHolder::toggleVideoCapture()
|
|||
}
|
||||
else
|
||||
{
|
||||
if(inputVideoDevice)
|
||||
{
|
||||
delete inputVideoDevice ;
|
||||
inputVideoDevice = NULL ;
|
||||
}
|
||||
|
||||
inputVideoDevice->stop() ;
|
||||
videoCaptureToggleButton->setToolTip(tr("Activate camera"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue