diff options
Diffstat (limited to 'src/Viewer/studio3d/q3dssurfaceviewer.cpp')
-rw-r--r-- | src/Viewer/studio3d/q3dssurfaceviewer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Viewer/studio3d/q3dssurfaceviewer.cpp b/src/Viewer/studio3d/q3dssurfaceviewer.cpp index c8090ea2..546d92d1 100644 --- a/src/Viewer/studio3d/q3dssurfaceviewer.cpp +++ b/src/Viewer/studio3d/q3dssurfaceviewer.cpp @@ -175,6 +175,7 @@ Q3DSSurfaceViewerPrivate::Q3DSSurfaceViewerPrivate(Q3DSSurfaceViewer *q) , m_settings(new Q3DSViewerSettings(this)) , m_presentation(new Q3DSPresentation(this)) { + m_startupTimer.start(); connect(m_presentation, &Q3DSPresentation::sourceChanged, this, &Q3DSSurfaceViewerPrivate::reset); } @@ -358,7 +359,7 @@ bool Q3DSSurfaceViewerPrivate::initializeRuntime() m_context->makeCurrent(m_surface); - m_viewerApp = &Q3DSViewerApp::Create(m_context, new Qt3DSAudioPlayerImpl()); + m_viewerApp = &Q3DSViewerApp::Create(m_context, new Qt3DSAudioPlayerImpl(), &m_startupTimer); Q_ASSERT(m_viewerApp); |