X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/624231601a0f5daea9b8809993ad3503beafce4f..cfe8322b50c9ef08ffbc3e52b0849bca4cd1d0bf:/InterfaceItem.cpp

diff --git a/InterfaceItem.cpp b/InterfaceItem.cpp
index ff5f5c6..10158d7 100644
--- a/InterfaceItem.cpp
+++ b/InterfaceItem.cpp
@@ -257,7 +257,7 @@ void InterfaceItem::addConnectionItem(ConnectionItem* item) {
 }
 
 void InterfaceItem::removeConnectionItem(ConnectionItem* item) {
-  connections.removeOne(item);
+  connections.removeAll(item);
 }
 
 QDataStream &operator <<(QDataStream &out, InterfaceItem *i) {