GUI: Fix bug in severity filtering.

There was (obviously) a copy-paste bug in code converting severities
to GUI's show types. This caused some severities not being
filtered correctly when severity selection in GUI was changed.

Fixes ticket: #3242 (GUI: Unmatched suppression: message in wrong category)
This commit is contained in:
Kimmo Varis 2011-12-27 14:51:29 +02:00
parent 7c606c4e3b
commit bb28041758
1 changed files with 2 additions and 2 deletions

View File

@ -47,9 +47,9 @@ ShowTypes::ShowType ShowTypes::SeverityToShowType(Severity::SeverityType severit
case Severity::portability:
return ShowTypes::ShowPortability;
case Severity::information:
return ShowTypes::ShowPortability;
return ShowTypes::ShowInformation;
default:
return ShowTypes::ShowPortability;
return ShowTypes::ShowNone;
}
return ShowTypes::ShowNone;