mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 12:22:15 +02:00
UI: Fix outdated scene collection and profile method names
This commit is contained in:
parent
d7c798c60d
commit
b9808eaca8
@ -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)));
|
||||
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user