| 159 | } |
| 160 | |
| 161 | void Worker::scheduleForUnintegration(const QString& path) { |
| 162 | auto operation = std::make_pair(path, UNINTEGRATE); |
| 163 | if (!d->isDuplicate(operation)) { |
| 164 | std::cout << "Scheduling for unintegration: " << path.toStdString() << std::endl; |
| 165 | d->deferredOperations.push_back(operation); |
| 166 | emit startTimer(); |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | void Worker::startTimerIfNecessary() { |
| 171 | if (!d->deferredOperationsTimer.isActive()) |
nothing calls this directly
no test coverage detected