summaryrefslogtreecommitdiffstats
path: root/src/waveform
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2020-07-12 11:18:30 +0200
committerUwe Klotz <uklotz@mixxx.org>2020-07-12 11:22:57 +0200
commitcfd122a31b65142426dfe5113b473d22e7e478c2 (patch)
tree60ef2bc9da818a00825252450fa75eee0f5a6946 /src/waveform
parent4bdc96f230be8e72438bba01c509e0dab7934266 (diff)
Delete redundant explicit static_cast
Diffstat (limited to 'src/waveform')
-rw-r--r--src/waveform/widgets/glslwaveformwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waveform/widgets/glslwaveformwidget.cpp b/src/waveform/widgets/glslwaveformwidget.cpp
index bd41db9ed6..6c8c22fc7b 100644
--- a/src/waveform/widgets/glslwaveformwidget.cpp
+++ b/src/waveform/widgets/glslwaveformwidget.cpp
@@ -65,7 +65,7 @@ GLSLWaveformWidget::GLSLWaveformWidget(
}
void GLSLWaveformWidget::castToQWidget() {
- m_widget = static_cast<QWidget*>(static_cast<QGLWidget*>(this));
+ m_widget = this;
}
void GLSLWaveformWidget::paintEvent(QPaintEvent* event) {