diff --git a/src/plugins/screenrecorder/screenrecordersettings.cpp b/src/plugins/screenrecorder/screenrecordersettings.cpp index ef914616a96..cd506057a0c 100644 --- a/src/plugins/screenrecorder/screenrecordersettings.cpp +++ b/src/plugins/screenrecorder/screenrecordersettings.cpp @@ -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());