mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-27 15:46:13 -04:00
UI: Move WHIP service to the bottom of the visible list
This commit is contained in:
committed by
Ryan Foster
parent
8981afe5b4
commit
d31d271b43
@@ -262,12 +262,14 @@ void OBSBasicSettings::SaveStream1Settings()
|
||||
obs_data_set_bool(settings, "bwtest", false);
|
||||
}
|
||||
|
||||
if (whip)
|
||||
if (whip) {
|
||||
obs_data_set_string(settings, "service", "WHIP");
|
||||
obs_data_set_string(settings, "bearer_token",
|
||||
QT_TO_UTF8(ui->key->text()));
|
||||
else
|
||||
} else {
|
||||
obs_data_set_string(settings, "key",
|
||||
QT_TO_UTF8(ui->key->text()));
|
||||
}
|
||||
|
||||
OBSServiceAutoRelease newService = obs_service_create(
|
||||
service_id, "default_service", settings, hotkeyData);
|
||||
@@ -388,8 +390,8 @@ void OBSBasicSettings::LoadServices(bool showAll)
|
||||
ui->service->addItem(name);
|
||||
|
||||
if (obs_is_output_protocol_registered("WHIP")) {
|
||||
ui->service->insertItem(0, QTStr("WHIP"),
|
||||
QVariant((int)ListOpt::WHIP));
|
||||
ui->service->addItem(QTStr("WHIP"),
|
||||
QVariant((int)ListOpt::WHIP));
|
||||
}
|
||||
|
||||
if (!showAll) {
|
||||
|
||||
Reference in New Issue
Block a user