diff --git a/interface/src/scripting/ScreenshareScriptingInterface.cpp b/interface/src/scripting/ScreenshareScriptingInterface.cpp index f8bd57f746..85024049a6 100644 --- a/interface/src/scripting/ScreenshareScriptingInterface.cpp +++ b/interface/src/scripting/ScreenshareScriptingInterface.cpp @@ -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; }