diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 49e8bbc7c..fe0fcdb76 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -3874,16 +3874,6 @@ void OBSBasic::RemoveSelectedScene() api->on_event(OBS_FRONTEND_EVENT_SCENE_LIST_CHANGED); } -void OBSBasic::RemoveSelectedSceneItem() -{ - OBSSceneItem item = GetCurrentSceneItem(); - if (item) { - obs_source_t *source = obs_sceneitem_get_source(item); - if (QueryRemoveSource(source)) - obs_sceneitem_remove(item); - } -} - void OBSBasic::ReorderSources(OBSScene scene) { if (scene != GetCurrentScene() || ui->sources->IgnoreReorder()) diff --git a/UI/window-basic-main.hpp b/UI/window-basic-main.hpp index 3114a515f..04b3ee9ed 100644 --- a/UI/window-basic-main.hpp +++ b/UI/window-basic-main.hpp @@ -660,7 +660,6 @@ private slots: void DuplicateSelectedScene(); void RemoveSelectedScene(); - void RemoveSelectedSceneItem(); void ToggleAlwaysOnTop();