Commit 3a77b509 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

WRG: use the right enum in switch statement

parent 9d829437
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment