diff options
Diffstat (limited to 'src/waveform/widgets/glsimplewaveformwidget.cpp')
-rw-r--r-- | src/waveform/widgets/glsimplewaveformwidget.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/waveform/widgets/glsimplewaveformwidget.cpp b/src/waveform/widgets/glsimplewaveformwidget.cpp index 54c4e4fc31..f511e1e9a5 100644 --- a/src/waveform/widgets/glsimplewaveformwidget.cpp +++ b/src/waveform/widgets/glsimplewaveformwidget.cpp @@ -44,9 +44,6 @@ GLSimpleWaveformWidget::GLSimpleWaveformWidget(const char* group, QWidget* paren } GLSimpleWaveformWidget::~GLSimpleWaveformWidget() { - if (QGLContext::currentContext() != context()) { - makeCurrent(); - } } void GLSimpleWaveformWidget::castToQWidget() { |