VerifyWidget: Handle Severity::None case in Verify()

The case body is empty because VolumeVerifier doesn't actually report
problems with severity of None.

Fixes "warning: enumeration value ‘None’ not handled in switch [-Wswitch]"
warning reported by gcc.
This commit is contained in:
Aapo Vienamo 2019-10-01 00:30:53 +03:00
parent 3c6c94a04a
commit 0dda920c1d
1 changed files with 2 additions and 0 deletions

View File

@ -138,6 +138,8 @@ void VerifyWidget::Verify()
case DiscIO::VolumeVerifier::Severity::High:
severity = tr("High");
break;
case DiscIO::VolumeVerifier::Severity::None:
break;
}
SetProblemCellText(i, 0, QString::fromStdString(problem.text));