The same message as the last commit, except do the work this time

This commit is contained in:
Zach Fox 2019-11-01 13:23:25 -07:00
parent 9273db4844
commit e1b02fb73a

View file

@ -29,7 +29,8 @@ void ScreenshareScriptingInterface::startScreenshare(const QString& roomName) {
if (QThread::currentThread() != thread()) {
// We must start a new QProcess from the main thread.
QMetaObject::invokeMethod(
this, "startScreenshare"
this, "startScreenshare",
Q_ARG(const QString&, roomName)
);
return;
}