Fixed Qt4 error.

This commit is contained in:
Leonardo Zide 2021-01-03 11:26:47 -08:00
parent 28c27d8326
commit 725901e97e

View file

@ -243,6 +243,9 @@ protected:
#ifdef LC_USE_QOPENGLWIDGET
QOpenGLWidget* mWidget = nullptr;
QOpenGLContext* mContext = nullptr;
#else
QGLWidget* mWidget = nullptr;
const QGLContext* mContext = nullptr;
#endif
bool mValid = false;