Skip to content

Commit

Permalink
UI: Fix outdated scene collection and profile method names
Browse files Browse the repository at this point in the history
  • Loading branch information
PatTheMav authored and RytoEX committed Sep 16, 2024
1 parent d7c798c commit b9808ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UI/api-interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ struct OBSStudioAPI : obs_frontend_callbacks {
bool obs_frontend_add_scene_collection(const char *name) override
{
bool success = false;
QMetaObject::invokeMethod(main, "NewSceneCollection",
QMetaObject::invokeMethod(main, "CreateNewSceneCollection",
WaitConnection(),
Q_RETURN_ARG(bool, success),
Q_ARG(QString, QT_UTF8(name)));
Expand Down Expand Up @@ -252,13 +252,13 @@ struct OBSStudioAPI : obs_frontend_callbacks {

void obs_frontend_create_profile(const char *name) override
{
QMetaObject::invokeMethod(main, "NewProfile",
QMetaObject::invokeMethod(main, "CreateNewProfile",
Q_ARG(QString, name));
}

void obs_frontend_duplicate_profile(const char *name) override
{
QMetaObject::invokeMethod(main, "DuplicateProfile",
QMetaObject::invokeMethod(main, "CreateDuplicateProfile",
Q_ARG(QString, name));
}

Expand Down

0 comments on commit b9808ea

Please sign in to comment.