mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-09 15:59:25 -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
|
else
|
||||||
{
|
{
|
||||||
if(inputVideoDevice)
|
inputVideoDevice->stop() ;
|
||||||
{
|
|
||||||
delete inputVideoDevice ;
|
|
||||||
inputVideoDevice = NULL ;
|
|
||||||
}
|
|
||||||
|
|
||||||
videoCaptureToggleButton->setToolTip(tr("Activate camera"));
|
videoCaptureToggleButton->setToolTip(tr("Activate camera"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue