UI: Remove unused RemoveSelectedSceneItem slot

Appears to be a remnant left by the undo/redo system changes, not used
at all by any parts of the UI. This slot does not have undo/redo
system functionality, so it is not useful in its current form.
This commit is contained in:
tt2468 2021-09-12 22:20:53 -07:00 • committed by Jim
commit 63a570ed00
2 changed files with 0 additions and 11 deletions

View file

@ -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())