Skip to content
Snippets Groups Projects
Commit 3a77b509 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

WRG: use the right enum in switch statement

parent 9d829437
No related branches found
No related tags found
No related merge requests found
......@@ -701,15 +701,15 @@ void ImageViewWidget::ListGlVersions() const
switch( format().profile() )
{
case QGLFormat::NoProfile:
case QSurfaceFormat::NoProfile:
qWarning() << "QGLFormat::NoProfile";
break;
case QGLFormat::CoreProfile:
case QSurfaceFormat::CoreProfile:
qWarning() << "QGLFormat::CoreProfile";
break;
case QGLFormat::CompatibilityProfile:
case QSurfaceFormat::CompatibilityProfile:
qWarning() << "QGLFormat::CompatibilityProfile";
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment