1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix closing video device after changing tab

This commit is contained in:
agilob 2015-10-10 14:26:35 +01:00
parent 0e9cfd948e
commit 83bcf2b8ae
No known key found for this signature in database
GPG Key ID: 296F0B764741106C

View File

@ -388,6 +388,7 @@ void AVForm::killVideoSurface()
while ((child = bodyUI->gridLayout->takeAt(0)) != 0)
delete child;
camVideoSurface->close();
delete camVideoSurface;
camVideoSurface = nullptr;
}