1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-24 11:04:10 -04:00

Replace obsolete QGLWidget by QOpenGLWidget

This commit is contained in:
f4exb
2022-03-18 18:13:08 +01:00
parent 60d4b2f126
commit cbdf46098d
8 changed files with 25 additions and 20 deletions
+2 -2
View File
@@ -33,7 +33,7 @@
// Note: When this object is created, QWidget* is converted to bool
TVScreen::TVScreen(bool color, QWidget* parent) :
QGLWidget(parent),
QOpenGLWidget(parent),
m_mutex(QMutex::Recursive),
m_glShaderArray(color)
{
@@ -156,7 +156,7 @@ void TVScreen::initializeGL()
&QOpenGLContext::aboutToBeDestroyed,
this,
&TVScreen::cleanup
); // TODO: when migrating to QOpenGLWidget
);
m_glContextInitialized = true;
}