From 725901e97e2c78308b4418af7c76cab58d506443 Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Sun, 3 Jan 2021 11:26:47 -0800 Subject: [PATCH] Fixed Qt4 error. --- common/lc_context.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/lc_context.h b/common/lc_context.h index 92db7777..124f9b7b 100644 --- a/common/lc_context.h +++ b/common/lc_context.h @@ -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;