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

pull/1315/head
f4exb 2022-06-26 10:36:10 +02:00
rodzic 74300669fd
commit 280de9095a
2 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

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

Wyświetl plik

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