We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c647dff commit cb22d06Copy full SHA for cb22d06
src/Interface/Application/Connection.cc
@@ -365,7 +365,7 @@ void ConnectionLine::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event)
365
if (action && action->text() == deleteAction)
366
{
367
scene()->removeItem(this);
368
- destroy();
+ destroy(); //TODO: another place to hook up deleteLater()
369
}
370
else if (action && action->text() == editNotesAction)
371
src/Interface/Application/Port.cc
@@ -371,6 +371,7 @@ void PortWidget::addConnection(ConnectionLine* c)
372
void PortWidget::removeConnection(ConnectionLine* c)
373
374
+ disconnect(c);
375
connections_.erase(c);
376
if (connections_.empty())
377
setConnected(false);
0 commit comments