History

Fix for stopping scripts on Windows.

Andrzej Kapolka committed 12 years ago

Commit c8f2dae1 parent 86f020d1 file · +3 −2Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+3−2
@@ -3422,8 +3422,9 @@ ScriptEngine* Application::loadScript(const QString& scriptName, bool loadScript · 3421 unmodified lines
3422 }3422 }
3423 3423
3424 // start the script on a new thread...3424 // start the script on a new thread...
3425 ScriptEngine* scriptEngine = new ScriptEngine(QUrl(scriptName), &_controllerScriptingInterface);3425 QUrl scriptUrl(scriptName);
3426 _scriptEnginesHash.insert(scriptName, scriptEngine);3426 ScriptEngine* scriptEngine = new ScriptEngine(scriptUrl, &_controllerScriptingInterface);
3427 _scriptEnginesHash.insert(scriptUrl.toString(), scriptEngine);
3427 3428
3428 if (!scriptEngine->hasScript()) {3429 if (!scriptEngine->hasScript()) {
3429 qDebug() << "Application::loadScript(), script failed to load...";3430 qDebug() << "Application::loadScript(), script failed to load...";

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t