Commit 8100f8af authored by Joseph Mirabel's avatar Joseph Mirabel

Remove usage of MainWindow::worker

parent d833afe2
......@@ -67,7 +67,6 @@ namespace hpp {
toolBar_->addAction (autoBuildGraph);
connect(autoBuildGraph, SIGNAL(triggered()), SLOT(autoBuildGraph()));
connect(&main->worker(), SIGNAL(done(int)), SLOT(handleWorkerDone(int)));
main->registerSlot("autoBuildGraph", this);
main->registerSlot("drawRobotContacts", this);
main->registerSlot("drawEnvironmentsContacts", this);
......@@ -508,13 +507,6 @@ namespace hpp {
graphBuilder_->show();
}
void HppManipulationWidgetsPlugin::handleWorkerDone(int id)
{
if (id == lastId_) {
gepetto::gui::MainWindow::instance()->logJobDone(id, "Graph is build");
}
}
void HppManipulationWidgetsPlugin::loadConstraintWidget()
{
gepetto::gui::MainWindow* main = gepetto::gui::MainWindow::instance();
......
......@@ -99,7 +99,6 @@ namespace hpp {
private slots:
/// Construct all the corba vars and create the graph.
void buildGraph();
void handleWorkerDone(int id);
protected:
virtual void loadConstraintWidget();
......@@ -135,8 +134,6 @@ namespace hpp {
QToolBar *toolBar_;
QTabWidget *tw_;
QDialog* graphBuilder_;
int lastId_;
};
} // namespace gui
} // namespace hpp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment