mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #3566
bitok (1): fix(avform):Add skipped camera open call
This commit is contained in:
commit
05bd55d8a5
|
@ -357,7 +357,11 @@ void AVForm::updateVideoModes(int curIndex)
|
|||
int preferedIndex = searchPreferredIndex();
|
||||
if (preferedIndex != -1)
|
||||
{
|
||||
Settings::getInstance().setScreenGrabbed(false);
|
||||
videoModescomboBox->blockSignals(true);
|
||||
videoModescomboBox->setCurrentIndex(preferedIndex);
|
||||
videoModescomboBox->blockSignals(false);
|
||||
open(devName, videoModes[preferedIndex]);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user