1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

GLScope and GLSpectrum removed extraneous call to cleanup method. Fixes #1295

This commit is contained in:
f4exb 2022-06-26 10:36:10 +02:00
parent 74300669fd
commit 280de9095a
2 changed files with 0 additions and 4 deletions

View File

@ -203,8 +203,6 @@ void GLScope::initializeGL()
}
}
connect(glCurrentContext, &QOpenGLContext::aboutToBeDestroyed, this, &GLScope::cleanup);
QOpenGLFunctions *glFunctions = QOpenGLContext::currentContext()->functions();
glFunctions->initializeOpenGLFunctions();

View File

@ -822,8 +822,6 @@ void GLSpectrum::initializeGL()
return;
}
connect(glCurrentContext, &QOpenGLContext::aboutToBeDestroyed, this, &GLSpectrum::cleanup);
QOpenGLFunctions *glFunctions = QOpenGLContext::currentContext()->functions();
glFunctions->initializeOpenGLFunctions();