Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
3a77b509
Commit
3a77b509
authored
Feb 25, 2020
by
Cédric Traizet
Browse files
WRG: use the right enum in switch statement
parent
9d829437
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Visualization/MonteverdiGui/src/mvdImageViewWidget.cxx
View file @
3a77b509
...
...
@@ -701,15 +701,15 @@ void ImageViewWidget::ListGlVersions() const
switch
(
format
().
profile
()
)
{
case
Q
GL
Format
::
NoProfile
:
case
Q
Surface
Format
::
NoProfile
:
qWarning
()
<<
"QGLFormat::NoProfile"
;
break
;
case
Q
GL
Format
::
CoreProfile
:
case
Q
Surface
Format
::
CoreProfile
:
qWarning
()
<<
"QGLFormat::CoreProfile"
;
break
;
case
Q
GL
Format
::
CompatibilityProfile
:
case
Q
Surface
Format
::
CompatibilityProfile
:
qWarning
()
<<
"QGLFormat::CompatibilityProfile"
;
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment