Fix missing enumeration value and break statement in switch

This commit is contained in:
Roland Winklmeier
2014-10-08 00:17:26 +02:00
parent 522c1263ef
commit 716b5cc00e

View File

@@ -254,8 +254,14 @@ namespace BlackMisc
break; break;
case SeverityWarning: case SeverityWarning:
html = "<font color=\"yellow\">"; html = "<font color=\"yellow\">";
break;
case SeverityError: case SeverityError:
html = "<font color=\"red\">"; html = "<font color=\"red\">";
break;
case SeverityDebug:
break;
default:
break;
} }
html.append(this->getMessage()); html.append(this->getMessage());
if (this->getSeverity() == SeverityInfo) return html; if (this->getSeverity() == SeverityInfo) return html;