Commit fc461345 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix coverity CID 178700: Missing break in switch

The case for value UMLObject::ot_Instance is not terminated
by a 'break' statement.

CCBUG:340646
parent b660582f
......@@ -1033,6 +1033,7 @@ void UMLListView::connectNewObjectsSlots(UMLObject* object)
connect(c, SIGNAL(attributeRemoved(UMLClassifierListItem*)), this, SLOT(childObjectAdded(UMLClassifierListItem*)));
connect(object, SIGNAL(modified()), this, SLOT(slotObjectChanged()));
}
break;
case UMLObject::ot_Enum: {
UMLEnum *e = object->asUMLEnum();
connect(e, SIGNAL(enumLiteralAdded(UMLClassifierListItem*)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment