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

@@ -626,6 +626,7 @@ QVariant BreakHandler::data(const QModelIndex &mi, int role) const
return tr("Breakpoint will only be hit after being ignored so many times.");
if (role == Qt::UserRole + 1)
return data->ignoreCount;
break;
case 6:
if (role == Qt::DisplayRole) {
if (data->pending)
@@ -637,6 +638,7 @@ QVariant BreakHandler::data(const QModelIndex &mi, int role) const
return tr("Breakpoint will only be hit in the specified thread(s).");
if (role == Qt::UserRole + 1)
return data->threadSpec;
break;
case 7:
if (role == Qt::DisplayRole) {
if (data->type == BreakpointData::WatchpointType)