mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-05 23:26:13 -05:00
UI: Remove Mixer integration
This commit is contained in:
@@ -41,8 +41,6 @@ void OBSBasicSettings::InitStreamPage()
|
||||
ui->bandwidthTestEnable->setVisible(false);
|
||||
ui->twitchAddonDropdown->setVisible(false);
|
||||
ui->twitchAddonLabel->setVisible(false);
|
||||
ui->mixerAddonDropdown->setVisible(false);
|
||||
ui->mixerAddonLabel->setVisible(false);
|
||||
|
||||
int vertSpacing = ui->topStreamLayout->verticalSpacing();
|
||||
|
||||
@@ -69,11 +67,6 @@ void OBSBasicSettings::InitStreamPage()
|
||||
ui->twitchAddonDropdown->addItem(
|
||||
QTStr("Basic.Settings.Stream.TTVAddon.Both"));
|
||||
|
||||
ui->mixerAddonDropdown->addItem(
|
||||
QTStr("Basic.Settings.Stream.MixerAddon.None"));
|
||||
ui->mixerAddonDropdown->addItem(
|
||||
QTStr("Basic.Settings.Stream.MixerAddon.MEE"));
|
||||
|
||||
connect(ui->service, SIGNAL(currentIndexChanged(int)), this,
|
||||
SLOT(UpdateServerList()));
|
||||
connect(ui->service, SIGNAL(currentIndexChanged(int)), this,
|
||||
@@ -119,9 +112,6 @@ void OBSBasicSettings::LoadStream1Settings()
|
||||
|
||||
idx = config_get_int(main->Config(), "Twitch", "AddonChoice");
|
||||
ui->twitchAddonDropdown->setCurrentIndex(idx);
|
||||
|
||||
idx = config_get_int(main->Config(), "Mixer", "AddonChoice");
|
||||
ui->mixerAddonDropdown->setCurrentIndex(idx);
|
||||
}
|
||||
|
||||
UpdateServerList();
|
||||
@@ -199,19 +189,6 @@ void OBSBasicSettings::SaveStream1Settings()
|
||||
if (choiceExists && currentChoice != newChoice)
|
||||
forceAuthReload = true;
|
||||
}
|
||||
if (!!auth && strcmp(auth->service(), "Mixer") == 0) {
|
||||
bool choiceExists = config_has_user_value(
|
||||
main->Config(), "Mixer", "AddonChoice");
|
||||
int currentChoice =
|
||||
config_get_int(main->Config(), "Mixer", "AddonChoice");
|
||||
int newChoice = ui->mixerAddonDropdown->currentIndex();
|
||||
|
||||
config_set_int(main->Config(), "Mixer", "AddonChoice",
|
||||
newChoice);
|
||||
|
||||
if (choiceExists && currentChoice != newChoice)
|
||||
forceAuthReload = true;
|
||||
}
|
||||
|
||||
obs_data_set_string(settings, "key", QT_TO_UTF8(ui->key->text()));
|
||||
|
||||
@@ -335,8 +312,6 @@ void OBSBasicSettings::on_service_currentIndexChanged(int)
|
||||
ui->bandwidthTestEnable->setVisible(false);
|
||||
ui->twitchAddonDropdown->setVisible(false);
|
||||
ui->twitchAddonLabel->setVisible(false);
|
||||
ui->mixerAddonDropdown->setVisible(false);
|
||||
ui->mixerAddonLabel->setVisible(false);
|
||||
|
||||
#ifdef BROWSER_AVAILABLE
|
||||
if (cef) {
|
||||
@@ -495,10 +470,6 @@ void OBSBasicSettings::OnOAuthStreamKeyConnected()
|
||||
ui->twitchAddonLabel->setVisible(true);
|
||||
ui->twitchAddonDropdown->setVisible(true);
|
||||
}
|
||||
if (strcmp(a->service(), "Mixer") == 0) {
|
||||
ui->mixerAddonLabel->setVisible(true);
|
||||
ui->mixerAddonDropdown->setVisible(true);
|
||||
}
|
||||
}
|
||||
|
||||
ui->streamStackWidget->setCurrentIndex((int)Section::StreamKey);
|
||||
|
||||
Reference in New Issue
Block a user