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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user