| 30 | } |
| 31 | |
| 32 | void Route::save(const ProjectKey &key, QProcess *const value) |
| 33 | { |
| 34 | if (!savedProcs.value(key)) { |
| 35 | QObject::connect(value, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), |
| 36 | this, &Route::deleteProc, Qt::DirectConnection); |
| 37 | savedProcs.insert(key, value); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | void Route::deleteProc(int exitCode, QProcess::ExitStatus exitstatus) |
| 42 | { |
no test coverage detected