Skip to content

Commit

Permalink
chore: fix typo, use static_cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftb0y committed Sep 4, 2023
1 parent 038ef56 commit cfdbb34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/waveform/waveformwidgetfactory.cpp
Expand Up @@ -992,7 +992,7 @@ void WaveformWidgetFactory::evaluateWidgets() {
active = false;
}
} else {
// No sufficient GL supptor
// No sufficient GL support
if (useOpenGles || useOpenGl || useOpenGLShaders) {
active = false;
}
Expand All @@ -1007,7 +1007,7 @@ void WaveformWidgetFactory::evaluateWidgets() {
// add new handle for each available widget type
WaveformWidgetAbstractHandle handle;
handle.m_displayString = widgetName;
handle.m_type = (WaveformWidgetType::Type)type;
handle.m_type = static_cast<WaveformWidgetType::Type>(type);

m_waveformWidgetHandles.push_back(handle);
}
Expand Down

0 comments on commit cfdbb34

Please sign in to comment.