mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-03 02:50:07 -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
|
else
|
||||||
{
|
{
|
||||||
if(inputVideoDevice)
|
inputVideoDevice->stop() ;
|
||||||
{
|
|
||||||
delete inputVideoDevice ;
|
|
||||||
inputVideoDevice = NULL ;
|
|
||||||
}
|
|
||||||
|
|
||||||
videoCaptureToggleButton->setToolTip(tr("Activate camera"));
|
videoCaptureToggleButton->setToolTip(tr("Activate camera"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user