mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-12 11:16:01 +02:00
Add thread for AssetClient
This commit is contained in:
parent
5258474f98
commit
4e1b52a022
1 changed files with 11 additions and 0 deletions
|
@ -428,6 +428,17 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
|
|||
|
||||
audioThread->start();
|
||||
|
||||
|
||||
QThread* assetThread = new QThread();
|
||||
|
||||
assetThread->setObjectName("Asset Thread");
|
||||
auto assetClient = DependencyManager::get<AssetClient>();
|
||||
|
||||
assetClient->moveToThread(assetThread);
|
||||
|
||||
assetThread->start();
|
||||
|
||||
|
||||
const DomainHandler& domainHandler = nodeList->getDomainHandler();
|
||||
|
||||
connect(&domainHandler, SIGNAL(hostnameChanged(const QString&)), SLOT(domainChanged(const QString&)));
|
||||
|
|
Loading…
Reference in a new issue