mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 20:12:08 +02:00
lambda space
This commit is contained in:
parent
d05f1ac87f
commit
0ee9de7ed8
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ void ScriptEngines::stopAllScripts(bool restart) {
|
||||||
_isReloading = true;
|
_isReloading = true;
|
||||||
ScriptEngine::Type type = scriptEngine->getType();
|
ScriptEngine::Type type = scriptEngine->getType();
|
||||||
|
|
||||||
connect(scriptEngine.data(), &ScriptEngine::finished, this, [this, type, isOverrideScript](QString scriptName) {
|
connect(scriptEngine.data(), &ScriptEngine::finished, this, [this, type, isOverrideScript] (QString scriptName) {
|
||||||
reloadScript(scriptName, !isOverrideScript)->setType(type);
|
reloadScript(scriptName, !isOverrideScript)->setType(type);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue