Fix missing breaks which lead to invalid fallthroughs.

This commit is contained in:
Bill King
2010-06-11 13:39:47 +10:00
parent 1a89786979
commit 9e7d91a519
5 changed files with 9 additions and 0 deletions

View File

@@ -102,10 +102,13 @@ void PluginErrorView::update(PluginSpec *spec)
case PluginSpec::Stopped:
text = tr("Stopped");
tooltip = tr("Plugin was shut down");
break;
case PluginSpec::Deleted:
text = tr("Deleted");
tooltip = tr("Plugin ended its life cycle and was deleted");
break;
}
m_ui->state->setText(text);
m_ui->state->setToolTip(tooltip);
m_ui->errorString->setText(spec->errorString());