gui: fix warning on closing application

This commit is contained in:
Miodrag Milanovic 2024-02-29 08:48:19 +01:00 committed by myrtle
parent 75af8ccfd2
commit ac725465a9

View File

@ -170,6 +170,7 @@ class LineShader
public:
LineShader(QObject *parent) : parent_(parent), program_(nullptr) {}
~LineShader() { ((QOpenGLWidget*) parent_)->makeCurrent(); }
static constexpr const char *vertexShaderSource_ =
"#version 150\n"