From 3f4041595a086fb24a721e8ae736209fd73310bc Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Fri, 17 Jul 2015 15:26:04 -0700 Subject: [PATCH] Fix compile error in connect --- interface/src/Application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 1d215f680a..c1f557f2cc 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -4113,8 +4113,8 @@ void Application::registerScriptEngineWithApplicationServices(ScriptEngine* scri connect(workerThread, &QThread::started, scriptEngine, &ScriptEngine::run); // when the thread is terminated, add both scriptEngine and thread to the deleteLater queue - connect(scriptEngine, &ScriptEngine::doneRunning, scriptEngine, &ScriptEngine::deleteLater()); - connect(workerThread, &QThread::finished, workerThread, &Qthread::deleteLater); + connect(scriptEngine, &ScriptEngine::doneRunning, scriptEngine, &ScriptEngine::deleteLater); + connect(workerThread, &QThread::finished, workerThread, &QThread::deleteLater); // tell the thread to stop when the script engine is done connect(scriptEngine, &ScriptEngine::destroyed, workerThread, &QThread::quit);