mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-02 18:44:53 -05: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
@ -214,12 +214,7 @@ void VOIPChatWidgetHolder::toggleVideoCapture()
|
||||
}
|
||||
else
|
||||
{
|
||||
if(inputVideoDevice)
|
||||
{
|
||||
delete inputVideoDevice ;
|
||||
inputVideoDevice = NULL ;
|
||||
}
|
||||
|
||||
inputVideoDevice->stop() ;
|
||||
videoCaptureToggleButton->setToolTip(tr("Activate camera"));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user