mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
frontend: Update invokeMethod to use functions
This commit is contained in:
@@ -634,7 +634,7 @@ static void script_log(void *, obs_script_t *script, int log_level, const char *
|
||||
qmsg = QStringLiteral("[Unknown Script] %1").arg(message);
|
||||
}
|
||||
|
||||
QMetaObject::invokeMethod(scriptLogWindow, "AddLogMsg", Q_ARG(int, log_level), Q_ARG(QString, qmsg));
|
||||
QMetaObject::invokeMethod(scriptLogWindow, &ScriptLogWindow::AddLogMsg, log_level, qmsg);
|
||||
}
|
||||
|
||||
extern "C" void InitScripts()
|
||||
|
||||
Reference in New Issue
Block a user