| 149 | } |
| 150 | |
| 151 | void successfulConnection() { |
| 152 | auto job = new CMakeServerImportJob(project, server, this); |
| 153 | connect(job, &CMakeServerImportJob::result, this, [this, job](){ |
| 154 | if (job->error() == 0) { |
| 155 | manager->integrateData(job->projectData(), job->project(), server); |
| 156 | } |
| 157 | }); |
| 158 | addSubjob(job); |
| 159 | ExecuteCompositeJob::start(); |
| 160 | } |
| 161 | |
| 162 | void failedConnection(int code) { |
| 163 | Q_ASSERT(code > 0); |
nothing calls this directly
no test coverage detected