X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/0d3590739ff5a4ca9e87c052ac142f5d1d3a68ab..d111eaf49741a0a79d372445f97c314a637e331e:/GroupScene.cpp?ds=inline diff --git a/GroupScene.cpp b/GroupScene.cpp index b24c39c..531f62b 100644 --- a/GroupScene.cpp +++ b/GroupScene.cpp @@ -140,15 +140,11 @@ void GroupScene::removeSourceItem(SourceItem* item) { sourceItems.removeAll(item); } -void GroupScene::createConnectionItem(InterfaceItem *iface1, InterfaceItem *iface2, bool withinGroup) { +void GroupScene::createConnectionItem(InterfaceItem *iface1, InterfaceItem *iface2) { ConnectionItem* conn = NULL; - if (withinGroup) { - conn = new ConnectionItem(iface1,iface2, dispatcher, params, groupItem); - } - else { - conn = new ConnectionItem(iface1,iface2, dispatcher, params, NULL); - addItem(conn); - } + + conn = new ConnectionItem(iface1,iface2, dispatcher, params); + addItem(conn); addConnectionItem(conn); }