UI: Fix bug where auto-config settings wouldn't apply

The radio buttons had been changed so "Streaming" would be selected by
default, but it only sets the wizard's "type" to streaming if the user
actually clicks the radio button themselves manually, so it would stay
set to "Invalid" by mistake, causing settings to not be applied.
This commit is contained in:
jp9000
2017-05-20 11:11:59 -07:00
parent b8355c656c
commit 0c198bee50

View File

@@ -65,7 +65,7 @@ class AutoConfig : public QWizard {
Quality recordingQuality = Quality::Stream;
Encoder recordingEncoder = Encoder::Stream;
Encoder streamingEncoder = Encoder::x264;
Type type = Type::Invalid;
Type type = Type::Streaming;
FPSType fpsType = FPSType::PreferHighFPS;
int idealBitrate = 2500;
int baseResolutionCX = 1920;