UI: Remove unnecessary Undo/Redo cleanup func

Since fixing the reference holding issue with scene/source deletion, the
undo/redo cleanup function (last param of add_action) is no longer
required.
This commit is contained in:
jp9000 committed 2021-04-27 20:45:43 -07:00
1 parent 8946f02270
commit 78f1983f7d
12 files changed
+37 -65

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ OBSBasicTransform::~OBSBasicTransform()
QTStr("Undo.Transform")
.arg(obs_source_get_name(obs_scene_get_source(
main->GetCurrentScene()))),
undo_redo, undo_redo, undo_data, redo_data, NULL);
undo_redo, undo_redo, undo_data, redo_data);
obs_data_release(wrapper);
}