mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 15:09:33 -05:00
fixed memory leak in voip plugin
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8303 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9fc5f01d87
commit
3db9655c56
@ -371,7 +371,7 @@ void VOIPChatWidgetHolder::addAudioData(const RsPeerId &peer_id, QByteArray* arr
|
||||
) {
|
||||
QGraphicsOpacityEffect *effect = new QGraphicsOpacityEffect(audioListenToggleButton);
|
||||
audioCaptureToggleButton->setGraphicsEffect(effect);
|
||||
QPropertyAnimation *anim = new QPropertyAnimation(effect, "opacity");
|
||||
QPropertyAnimation *anim = new QPropertyAnimation(effect, "opacity", effect);
|
||||
anim->setStartValue(1);
|
||||
anim->setKeyValueAt(0.5,0);
|
||||
anim->setEndValue(1);
|
||||
|
Loading…
Reference in New Issue
Block a user