diff --git a/UI/frontend-plugins/frontend-tools/auto-scene-switcher.cpp b/UI/frontend-plugins/frontend-tools/auto-scene-switcher.cpp index ab5a74efc..8691d8529 100644 --- a/UI/frontend-plugins/frontend-tools/auto-scene-switcher.cpp +++ b/UI/frontend-plugins/frontend-tools/auto-scene-switcher.cpp @@ -49,7 +49,6 @@ struct SwitcherData { OBSWeakSource nonMatchingScene; int interval = DEFAULT_INTERVAL; bool switchIfNotMatching = false; - bool startAtLaunch = false; void Thread(); void Start(); @@ -259,15 +258,6 @@ void SceneSwitcher::on_remove_clicked() delete item; } -void SceneSwitcher::on_startAtLaunch_toggled(bool value) -{ - if (loading) - return; - - lock_guard lock(switcher->m); - switcher->startAtLaunch = value; -} - void SceneSwitcher::UpdateNonMatchingScene(const QString &name) { OBSSourceAutoRelease scene = diff --git a/UI/frontend-plugins/frontend-tools/auto-scene-switcher.hpp b/UI/frontend-plugins/frontend-tools/auto-scene-switcher.hpp index 74dc3af99..aa247d83c 100644 --- a/UI/frontend-plugins/frontend-tools/auto-scene-switcher.hpp +++ b/UI/frontend-plugins/frontend-tools/auto-scene-switcher.hpp @@ -35,7 +35,6 @@ public slots: void on_remove_clicked(); void on_noMatchDontSwitch_clicked(); void on_noMatchSwitch_clicked(); - void on_startAtLaunch_toggled(bool value); void on_noMatchSwitchScene_currentTextChanged(const QString &text); void on_checkInterval_valueChanged(int value); void on_toggleStartButton_clicked();