mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 10:37:35 +02:00
Fix unused variable in scriptFinished
This commit is contained in:
parent
5f60aeef22
commit
ad0865171b
1 changed files with 6 additions and 4 deletions
|
@ -4347,10 +4347,12 @@ void Application::scriptFinished(const QString& scriptName, ScriptEngine* engine
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
postLambdaEvent([this, scriptName]() {
|
if (removed) {
|
||||||
_runningScriptsWidget->scriptStopped(scriptName);
|
postLambdaEvent([this, scriptName]() {
|
||||||
_runningScriptsWidget->setRunningScripts(getRunningScripts());
|
_runningScriptsWidget->scriptStopped(scriptName);
|
||||||
});
|
_runningScriptsWidget->setRunningScripts(getRunningScripts());
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::stopAllScripts(bool restart) {
|
void Application::stopAllScripts(bool restart) {
|
||||||
|
|
Loading…
Reference in a new issue