mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
make the application the parent of the node thread
This commit is contained in:
parent
851d020390
commit
d7e99594ae
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
|
||||||
_runningScriptsWidget = new RunningScriptsWidget(_window);
|
_runningScriptsWidget = new RunningScriptsWidget(_window);
|
||||||
|
|
||||||
// start the nodeThread so its event loop is running
|
// start the nodeThread so its event loop is running
|
||||||
QThread* nodeThread = new QThread();
|
QThread* nodeThread = new QThread(this);
|
||||||
nodeThread->setObjectName("Datagram Processor Thread");
|
nodeThread->setObjectName("Datagram Processor Thread");
|
||||||
nodeThread->start();
|
nodeThread->start();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue