1
0
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:
sudden6 2016-08-01 21:09:00 +02:00
commit 05bd55d8a5
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -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;
}