Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /src/lib/simulator/src/electronics/ecnode.cpp [9e3b00] .. [812dd5] Maximize Restore

  Switch to side-by-side view

--- a/src/lib/simulator/src/electronics/ecnode.cpp
+++ b/src/lib/simulator/src/electronics/ecnode.cpp
@@ -115,9 +115,7 @@
 
 void ECNode::removeConnector(Connector *connector) {
     Q_ASSERT(connector);
-	if(m_connectorList.find(connector) != m_connectorList.end()) {
-		m_connectorList.removeAll(connector);
-	}
+    m_connectorList.removeAll(connector);
 }
 
 int ECNode::numCon() const