ScreenRecorder: Fix warning

Change-Id: I83130abbf61c43ab7835ab012b3005287aa6d2f4
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2023-09-22 17:28:30 +02:00
parent 53b8f0e495
commit 2e3c656ee1

View File

@@ -94,6 +94,8 @@ ScreenRecorderSettings::ScreenRecorderSettings()
captureType.addOption({"AVFoundation", {}, CaptureType::AVFoundation});
captureType.setDefaultValue(CaptureType::AVFoundation);
break;
default:
break;
}
auto setCaptureMouseClicksVisible = [this] {
const QVariant value = captureType.itemValueForIndex(captureType.volatileValue());