mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-19 04:34:04 -04:00
UI: Rework YouTube broadcast setup flow
This commit is contained in:
1 parent
e2b7597fb0
commit
ca3f244584
11 files changed
+271
-142
No files matched your search
@@ -243,8 +243,12 @@ void OBSBasicSettings::SaveStream1Settings()
|
||||
main->SetService(newService);
|
||||
main->SaveService();
|
||||
main->auth = auth;
|
||||
if (!!main->auth)
|
||||
if (!!main->auth) {
|
||||
main->auth->LoadUI();
|
||||
main->SetBroadcastFlowEnabled(main->auth->broadcastFlow());
|
||||
} else {
|
||||
main->SetBroadcastFlowEnabled(false);
|
||||
}
|
||||
|
||||
SaveCheckBox(ui->ignoreRecommended, "Stream1", "IgnoreRecommended");
|
||||
}
|
||||
@@ -667,6 +671,7 @@ void OBSBasicSettings::on_disconnectAccount_clicked()
|
||||
|
||||
main->auth.reset();
|
||||
auth.reset();
|
||||
main->SetBroadcastFlowEnabled(false);
|
||||
|
||||
std::string service = QT_TO_UTF8(ui->service->currentText());
|
||||
|
||||
|
||||
Reference in new issue
Block a user