Showing the changes to assignment-client/src/AssignmentClient.cpp (1 of 9 files). Show all
Unified · Split
| @@ -95,7 +95,7 @@ void AssignmentClient::readPendingDatagrams() { · 94 unmodified lines | |||
| 95 | // start the deployed assignment | 95 | // start the deployed assignment |
| 96 | QThread *workerThread = new QThread(this); | 96 | QThread *workerThread = new QThread(this); |
| 97 | 97 | ||
| 98 | connect(workerThread, SIGNAL(started()), _currentAssignment, SLOT(run())); | 98 | connect(workerThread, SIGNAL(started()), _currentAssignment, SLOT(setup())); |
| 99 | 99 | ||
| 100 | connect(_currentAssignment, SIGNAL(finished()), this, SLOT(assignmentCompleted())); | 100 | connect(_currentAssignment, SIGNAL(finished()), this, SLOT(assignmentCompleted())); |
| 101 | connect(_currentAssignment, SIGNAL(finished()), workerThread, SLOT(quit())); | 101 | connect(_currentAssignment, SIGNAL(finished()), workerThread, SLOT(quit())); |