diff --git a/src/DataFlowGraphModel.cpp b/src/DataFlowGraphModel.cpp index 0e05854e..037ed70e 100644 --- a/src/DataFlowGraphModel.cpp +++ b/src/DataFlowGraphModel.cpp @@ -240,6 +240,9 @@ QVariant DataFlowGraphModel::nodeData(NodeId nodeId, NodeRole role) const auto w = model->embeddedWidget(); result = QVariant::fromValue(w); } break; + + default: + break; } return result; @@ -299,6 +302,9 @@ bool DataFlowGraphModel::setNodeData(NodeId nodeId, NodeRole role, QVariant valu case NodeRole::Widget: break; + + default: + break; } return result; @@ -337,7 +343,9 @@ QVariant DataFlowGraphModel::portData(NodeId nodeId, case PortRole::Caption: result = model->portCaption(portType, portIndex); + break; + default: break; }