Qt: Add missing breaks.

Add missing breaks pointed out by Pascal.

Change-Id: I5dc17ec15fcf6d102ab2f97fec84c04905c68c79
Reviewed-on: https://code.wireshark.org/review/36271
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
This commit is contained in:
Gerald Combs 2020-03-03 13:54:18 -08:00 committed by Pascal Quantin
parent d5794990d5
commit 53246cee24
1 changed files with 3 additions and 0 deletions

View File

@ -174,6 +174,7 @@ QWidget* DecodeAsDelegate::createEditor(QWidget *parentWidget, const QStyleOptio
cb_editor->setFixedWidth(protoColWidth);
editor = cb_editor;
break;
}
case DecodeAsModel::colSelector:
{
@ -247,6 +248,7 @@ QWidget* DecodeAsDelegate::createEditor(QWidget *parentWidget, const QStyleOptio
} else {
editor = QStyledItemDelegate::createEditor(parentWidget, option, index);
}
break;
}
case DecodeAsModel::colProtocol:
@ -281,6 +283,7 @@ QWidget* DecodeAsDelegate::createEditor(QWidget *parentWidget, const QStyleOptio
cb_editor->setFixedWidth(protoColWidth);
editor = cb_editor;
break;
}
}