mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:09:24 +02:00
The same message as the last commit, except do the work this time
This commit is contained in:
parent
9273db4844
commit
e1b02fb73a
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ void ScreenshareScriptingInterface::startScreenshare(const QString& roomName) {
|
||||||
if (QThread::currentThread() != thread()) {
|
if (QThread::currentThread() != thread()) {
|
||||||
// We must start a new QProcess from the main thread.
|
// We must start a new QProcess from the main thread.
|
||||||
QMetaObject::invokeMethod(
|
QMetaObject::invokeMethod(
|
||||||
this, "startScreenshare"
|
this, "startScreenshare",
|
||||||
|
Q_ARG(const QString&, roomName)
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue