frontend: Update invokeMethod to use functions

This commit is contained in:
Warchamp7
2026-08-10 16:27:32 -04:00
committed by Ryan Foster
parent 220a16378f
commit 4abbcf0b6d
52 changed files with 274 additions and 281 deletions
+1 -1
View File
@@ -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()