]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/robomon/RobomonAtlantis.cpp
robomon: Set simulated obstacle visible on a click in playground scene
[eurobot/public.git] / src / robomon / RobomonAtlantis.cpp
index 356ad7dd45ee3883eb2282ff565a26ef3cd3d342..7a47c548b6357ba9cea4644abf523336af1056c0 100644 (file)
@@ -390,22 +390,16 @@ void RobomonAtlantis::createActions()
                        this, SLOT(setHokuyoSimulation(int)));
        connect(hokuyoSimCheckBox, SIGNAL(stateChanged(int)),
                        this, SLOT(setHokuyoObstacleSimulation(int)));
-       connect(hokuyoSimCheckBox, SIGNAL(stateChanged(int)),
-                       playgroundScene, SLOT(showObstacle(int)));
 
        connect(sick331SimCheckBox, SIGNAL(stateChanged(int)),
                        this, SLOT(setSick331Simulation(int)));
        connect(sick331SimCheckBox, SIGNAL(stateChanged(int)),
                        this, SLOT(setSick331ObstacleSimulation(int)));
-       connect(sick331SimCheckBox, SIGNAL(stateChanged(int)),
-                       playgroundScene, SLOT(showObstacle(int)));
 
        connect(sick551SimCheckBox, SIGNAL(stateChanged(int)),
                        this, SLOT(setSick551Simulation(int)));
        connect(sick551SimCheckBox, SIGNAL(stateChanged(int)),
                        this, SLOT(setSick551ObstacleSimulation(int)));
-       connect(sick551SimCheckBox, SIGNAL(stateChanged(int)),
-                       playgroundScene, SLOT(showObstacle(int)));
 
        connect(playgroundScene, SIGNAL(obstacleChanged(QPointF)),
                        this, SLOT(changeObstacle(QPointF)));