mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix video not loading when A/V tab shown
This commit is contained in:
parent
4f0a517531
commit
3e8fe2db6c
|
@ -177,8 +177,6 @@ void AVForm::updateVideoModes(int curIndex)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void AVForm::onVideoDevChanged(int index)
|
||||
|
@ -248,6 +246,9 @@ void AVForm::getVideoDevices()
|
|||
bodyUI->videoDevCombobox->setCurrentIndex(videoDevIndex);
|
||||
bodyUI->videoDevCombobox->blockSignals(false);
|
||||
updateVideoModes(videoDevIndex);
|
||||
|
||||
QString devName = videoDeviceList[videoDevIndex].first;
|
||||
camera.open(devName);
|
||||
}
|
||||
|
||||
void AVForm::getAudioInDevices()
|
||||
|
|
Loading…
Reference in New Issue
Block a user