Fix GCC 4.8 build of abstract3drenderer

Task-number: QTBUG-77730
Change-Id: I827d727b103a9923a8b82163bfa4f77c81c0906b
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Ville Voutilainen 2019-08-21 09:40:47 +03:00
parent 3206729aa7
commit b0114f0dcb
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ void Abstract3DRenderer::initializeOpenGL()
loadLabelMesh(); loadLabelMesh();
loadPositionMapperMesh(); loadPositionMapperMesh();
QObject::connect(m_context, &QOpenGLContext::aboutToBeDestroyed, QObject::connect(m_context.data(), &QOpenGLContext::aboutToBeDestroyed,
this, &Abstract3DRenderer::contextCleanup); this, &Abstract3DRenderer::contextCleanup);
} }