- 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);