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

auto-update audio devices list on tab show

This commit is contained in:
apprb 2014-11-23 21:07:12 +09:00
parent 92c330b7bd
commit 85718fa637
No known key found for this signature in database
GPG Key ID: B001911B5B22FB9B

View File

@ -33,9 +33,6 @@ AVForm::AVForm() :
bodyUI = new Ui::AVSettings;
bodyUI->setupUi(this);
getAudioOutDevices();
getAudioInDevices();
connect(Camera::getInstance(), &Camera::propProbingFinished, this, &AVForm::onPropProbingFinished);
connect(Camera::getInstance(), &Camera::resolutionProbingFinished, this, &AVForm::onResProbingFinished);
@ -51,6 +48,9 @@ AVForm::~AVForm()
void AVForm::present()
{
getAudioOutDevices();
getAudioInDevices();
bodyUI->CamVideoSurface->setSource(Camera::getInstance());
Camera::getInstance()->probeProp(Camera::SATURATION);