forked from osmocom/wireshark
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:
parent
d5794990d5
commit
53246cee24
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue