mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 13:56:24 +02:00
Merge pull request #6813 from ZappoMan/fixCrashRedux
temporary fix to crash on startup
This commit is contained in:
commit
24611d33c8
1 changed files with 5 additions and 2 deletions
|
@ -448,8 +448,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) :
|
|||
|
||||
_bookmarks = new Bookmarks(); // Before setting up the menu
|
||||
|
||||
_runningScriptsWidget = new RunningScriptsWidget(_window);
|
||||
|
||||
// start the nodeThread so its event loop is running
|
||||
QThread* nodeThread = new QThread(this);
|
||||
nodeThread->setObjectName("NodeList Thread");
|
||||
|
@ -980,6 +978,11 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) :
|
|||
|
||||
connect(this, &Application::applicationStateChanged, this, &Application::activeChanged);
|
||||
|
||||
// FIXME -- NOTE: This will call ProcessEvents() which can cause authentication signals to fire, which
|
||||
// if not logged in can cause the login dialog to appear. As currently implemented, the login requires
|
||||
// the offscreen UI to render, so this needs to be well after OffscreenUi is available
|
||||
_runningScriptsWidget = new RunningScriptsWidget(_window);
|
||||
|
||||
qCDebug(interfaceapp, "Startup time: %4.2f seconds.", (double)startupTimer.elapsed() / 1000.0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue