| 110 | }; |
| 111 | |
| 112 | Worker::Worker() { |
| 113 | d = std::make_shared<PrivateData>(); |
| 114 | |
| 115 | connect(this, &Worker::startTimer, this, &Worker::startTimerIfNecessary, Qt::QueuedConnection); |
| 116 | connect(&d->deferredOperationsTimer, &QTimer::timeout, this, &Worker::executeDeferredOperations); |
| 117 | } |
| 118 | |
| 119 | void Worker::executeDeferredOperations() { |
| 120 | if (d->deferredOperations.empty()) { |
nothing calls this directly
no outgoing calls
no test coverage detected