Skip to content

Commit 261bcc4

Browse files
committed
Merge pull request #1115
Fix crash with balls/skittles memory access
1 parent bb35382 commit 261bcc4

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)