mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 11:53:28 +02:00
Merge pull request #1149 from ey6es/master
This should fix Stephen's crash on init.
This commit is contained in:
commit
719a014118
1 changed files with 2 additions and 2 deletions
|
@ -215,13 +215,13 @@ Application::Application(int& argc, char** argv, timeval &startup_time) :
|
|||
// start the nodeList threads
|
||||
NodeList::getInstance()->startSilentNodeRemovalThread();
|
||||
|
||||
_window->setCentralWidget(_glWidget);
|
||||
|
||||
_networkAccessManager = new QNetworkAccessManager(this);
|
||||
QNetworkDiskCache* cache = new QNetworkDiskCache(_networkAccessManager);
|
||||
cache->setCacheDirectory("interfaceCache");
|
||||
_networkAccessManager->setCache(cache);
|
||||
|
||||
_window->setCentralWidget(_glWidget);
|
||||
|
||||
restoreSizeAndPosition();
|
||||
_window->setVisible(true);
|
||||
_glWidget->setFocusPolicy(Qt::StrongFocus);
|
||||
|
|
Loading…
Reference in a new issue