make the application the parent of the node thread

This commit is contained in:
Stephen Birarda 2015-03-11 18:04:32 -07:00
parent 851d020390
commit d7e99594ae

View file

@ -326,7 +326,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
_runningScriptsWidget = new RunningScriptsWidget(_window);
// start the nodeThread so its event loop is running
QThread* nodeThread = new QThread();
QThread* nodeThread = new QThread(this);
nodeThread->setObjectName("Datagram Processor Thread");
nodeThread->start();