----------------------------------------------------------------------------
| 216 | |
| 217 | //---------------------------------------------------------------------------- |
| 218 | QByteArray QFutureInterface<ctkCmdLineModuleResult>::errorData(int position, int size) const |
| 219 | { |
| 220 | QMutexLocker l(&d->Mutex); |
| 221 | if (size < 0) size = d->ErrorData.size(); |
| 222 | if (size > d->ErrorData.size() - position) size = d->ErrorData.size() - position; |
| 223 | return QByteArray(d->ErrorData.data() + position, size); |
| 224 | } |
no test coverage detected