Skip to content

Commit b830937

Browse files
Merge pull request #1115
Fix crash with balls/skittles memory access
2 parents bc0c3b5 + 10cecc2 commit b830937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/robots/common/twoDModel/src/engine/model/physics/box2DPhysicsEngine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Box2DPhysicsEngine::Box2DPhysicsEngine (const WorldModel &worldModel
5959
connect(&worldModel, &model::WorldModel::ballAdded,
6060
this, [this](const QSharedPointer<QGraphicsItem> &i) {itemAdded(i.data());});
6161
connect(&worldModel, &model::WorldModel::itemRemoved,
62-
this, [this](const QSharedPointer<QGraphicsItem> &i) {itemAdded(i.data());});
62+
this, [this](const QSharedPointer<QGraphicsItem> &i) {itemRemoved(i.data());});
6363
}
6464

6565
Box2DPhysicsEngine::~Box2DPhysicsEngine(){

0 commit comments

Comments
 (0)